summaryrefslogtreecommitdiff
path: root/x11/xservers
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-04-30 15:02:49 +0000
committertron <tron@pkgsrc.org>2001-04-30 15:02:49 +0000
commit57971d2084b0d4c1c5b453f8d3d00594ddb389f2 (patch)
tree9971b0ad31c4057d474e93194d1852a66874045c /x11/xservers
parenta394cf9c210bc3e823d2da458e8b1b69d7d6d65f (diff)
downloadpkgsrc-57971d2084b0d4c1c5b453f8d3d00594ddb389f2.tar.gz
Optimize check for X11 release by adding "X11_RELEASE" to "MAKEFLAGS" to
avoid recursive "make" invokations where possible.
Diffstat (limited to 'x11/xservers')
-rw-r--r--x11/xservers/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/xservers/Makefile b/x11/xservers/Makefile
index c5c8aa5a653..23e0455bfdc 100644
--- a/x11/xservers/Makefile
+++ b/x11/xservers/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/04/13 16:31:16 tron Exp $#
+# $NetBSD: Makefile,v 1.2 2001/04/30 15:02:49 tron Exp $#
DISTNAME= xservers-3.3.6.0
CATEGORIES= x11
@@ -15,8 +15,9 @@ NO_CHECKSUM= YES
PLIST_SRC= ${WRKDIR}/PLIST
USE_X11BASE= YES
-.if !defined(CHECK_X11)
+.if !defined(X11_RELEASE) && !defined(CHECK_X11)
X11_RELEASE!= ${MAKE} CHECK_X11=YES print-x11-release
+MAKEFLAGS+= X11_RELEASE="${X11_RELEASE}
.if (${X11_RELEASE} == "6.3")
IGNORE= "The X11 servers are included in your X11 distribution."
.endif