Skip to content

Commit

Permalink
X11_TYPE is a user-settable variable that can take the values:
Browse files Browse the repository at this point in the history
	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.
  • Loading branch information
johnnylam88 committed Mar 11, 2004
1 parent 0190c06 commit f755e63
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions mk/buildlink3/bsd.buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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:
#
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f755e63

Please sign in to comment.