diff options
author | jlam <jlam> | 2004-03-11 06:32:58 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-03-11 06:32:58 +0000 |
commit | dcee8cfe46ccfdf48d1aa1de1ca7e11a458a8e89 (patch) | |
tree | a8b8bd53377e1bfe3c4b2e8decb2e4bdbadb0d1a /mk/buildlink3 | |
parent | f0e94e7f0eaf732727c9478761b900a18c312e81 (diff) | |
download | pkgsrc-dcee8cfe46ccfdf48d1aa1de1ca7e11a458a8e89.tar.gz |
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 (limited to 'mk/buildlink3')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index f57e7434b4b..0e3c300fdad 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -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 @@ PREPEND_PATH+= ${BUILDLINK_DIR}/bin 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 |