diff options
author | tron <tron> | 2001-04-30 15:02:49 +0000 |
---|---|---|
committer | tron <tron> | 2001-04-30 15:02:49 +0000 |
commit | fb8ae3cc384b7ebc7059430b936e5523486c9b0f (patch) | |
tree | 9971b0ad31c4057d474e93194d1852a66874045c /x11/xservers | |
parent | 4de90dc649dd4ec92371b4ccc4a9bd9888de95df (diff) | |
download | pkgsrc-fb8ae3cc384b7ebc7059430b936e5523486c9b0f.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/Makefile | 5 |
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 |