pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Check for !empty(X11_TYPE:Mnative) inste...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87a58d2c812f
branches:  trunk
changeset: 471769:87a58d2c812f
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Mar 30 21:58:45 2004 +0000

description:
Check for !empty(X11_TYPE:Mnative) instead of checking for
empty(X11_TYPE:MXFree86), because X11_TYPE=xlibs could be used too...

diffstat:

 mk/buildlink2/bsd.buildlink2.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6ae1a2d119f3 -r 87a58d2c812f mk/buildlink2/bsd.buildlink2.mk
--- a/mk/buildlink2/bsd.buildlink2.mk   Tue Mar 30 21:50:19 2004 +0000
+++ b/mk/buildlink2/bsd.buildlink2.mk   Tue Mar 30 21:58:45 2004 +0000
@@ -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 @@
 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]) && \



Home | Main Index | Thread Index | Old Index