pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 X11_TYPE is a user-settable variable tha...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c85c59bf1f81
branches: trunk
changeset: 470642:c85c59bf1f81
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Mar 11 06:32:58 2004 +0000
description:
X11_TYPE is a user-settable variable that can take the values:
native use the native, non-pkgsrc-managed X11R6
XFree86 use x11/XFree86-libs (not yet implemented)
xlibs use freedesktop.org xlibs (not yet implemented)
It is used to set the X11 implementation used to build X11 packages.
diffstat:
mk/buildlink3/bsd.buildlink3.mk | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r bef53febea57 -r c85c59bf1f81 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk Thu Mar 11 05:16:49 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk Thu Mar 11 06:32:58 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.110 2004/03/11 05:15:23 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.111 2004/03/11 06:32:58 jlam Exp $
#
# An example package buildlink3.mk file:
#
@@ -65,7 +65,17 @@
BUILDLINK_DEPENDS?= # empty
.if defined(USE_X11)
-. include "../../pkgtools/x11-links/buildlink3.mk"
+X11_TYPE?= native
+. if ${X11_TYPE} == "native"
+. include "../../pkgtools/x11-links/buildlink3.mk"
+#. elif ${X11_TYPE} == "XFree86"
+#. include "../../x11/XFree86-libs/buildlink3.mk"
+#. elif ${X11_TYPE} == "xlibs"
+#. include "../../x11/xlibs/buildlink3.mk"
+. else
+PKG_FAIL_REASON+= \
+ "${PKGNAME} uses X11, but \"${X11_TYPE}\" isn't a valid X11 type."
+. endif
.endif
# For each package we use, check whether we are using the built-in
Home |
Main Index |
Thread Index |
Old Index