summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-03-30 21:58:45 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-03-30 21:58:45 +0000
commit4e90846fe71f05bfcc26b7a03bd566c9eba47399 (patch)
treec567e9379feb96b4a5e30070564df1e91abe46fc /mk
parent40485ab115f782facbff590568014272f916104e (diff)
downloadpkgsrc-4e90846fe71f05bfcc26b7a03bd566c9eba47399.tar.gz
Check for !empty(X11_TYPE:Mnative) instead of checking for
empty(X11_TYPE:MXFree86), because X11_TYPE=xlibs could be used too...
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink2/bsd.buildlink2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk
index ac624e0d780..2da4d8c1c6a 100644
--- a/mk/buildlink2/bsd.buildlink2.mk
+++ b/mk/buildlink2/bsd.buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink2.mk,v 1.122 2004/03/30 20:57:19 xtraeme Exp $
+# $NetBSD: bsd.buildlink2.mk,v 1.123 2004/03/30 21:58:45 xtraeme Exp $
#
# An example package buildlink2.mk file:
#
@@ -91,7 +91,7 @@ MAKE_ENV+= BUILDLINK_CACHE_ALL=yes
USE_X11_LINKS?= YES
X11_TYPE?= native
. if empty(USE_X11_LINKS:M[nN][oO]) && \
- empty(X11_TYPE:MXFree86)
+ !empty(X11_TYPE:Mnative)
BUILD_DEPENDS+= x11-links>=0.23:../../pkgtools/x11-links
_BLNK_X11_DIR= ${LOCALBASE}/share/x11-links
. elif empty(USE_X11_LINKS:M[nN][oO]) && \