2015-06-18 23:48:52 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.10 2015/06/18 21:48:52 jperkin Exp $
|
2006-07-11 16:42:03 +02:00
|
|
|
|
2006-12-12 22:52:34 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
2006-07-11 16:42:03 +02:00
|
|
|
|
2014-07-18 07:25:42 +02:00
|
|
|
.if ${X11_TYPE} != "modular" && \
|
|
|
|
!exists(${X11BASE}/lib/pkgconfig/fixesproto.pc) && \
|
2015-06-18 23:48:52 +02:00
|
|
|
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/fixesproto.pc) && \
|
|
|
|
!exists(${X11BASE}/share/pkgconfig/fixesproto.pc)
|
2014-07-18 07:25:42 +02:00
|
|
|
.include "../../x11/fixesproto4/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
|
2006-04-18 19:13:35 +02:00
|
|
|
BUILDLINK_DEPMETHOD.fixesproto?= build
|
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= fixesproto
|
2006-04-18 19:13:35 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(FIXESPROTO_BUILDLINK3_MK)
|
|
|
|
FIXESPROTO_BUILDLINK3_MK:=
|
2006-04-18 19:13:35 +02:00
|
|
|
|
2014-07-18 07:25:42 +02:00
|
|
|
BUILDLINK_API_DEPENDS.fixesproto+= fixesproto>=4.0.0
|
2006-04-18 19:13:35 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.fixesproto?= ../../x11/fixesproto
|
|
|
|
|
2014-07-18 07:25:42 +02:00
|
|
|
. if !defined(USE_BUILTIN.fixesproto)
|
|
|
|
CHECK_BUILTIN.fixesproto:= yes
|
|
|
|
.include "../../x11/fixesproto/builtin.mk"
|
|
|
|
CHECK_BUILTIN.fixesproto:= no
|
|
|
|
. endif
|
|
|
|
|
|
|
|
. if !empty(USE_BUILTIN.fixesproto:M[Nn][Oo])
|
|
|
|
BUILDLINK_API_DEPENDS.xextproto+= xextproto>=7.0.99.1
|
|
|
|
. endif
|
|
|
|
|
2006-04-18 19:13:35 +02:00
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xproto/buildlink3.mk"
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # FIXESPROTO_BUILDLINK3_MK
|
2006-04-18 19:13:35 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -fixesproto
|
2014-07-18 07:25:42 +02:00
|
|
|
|
|
|
|
.endif
|