diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-08-01 01:00:16 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-08-01 01:00:16 +0000 |
commit | ff2aaede36ed6c18ce73cec1a0b81921ff8b6070 (patch) | |
tree | b8eaaa5085653e110039af209df377ed9bf99497 /mk | |
parent | b5460eb7a2e457ff65175f7737db174f167d41ff (diff) | |
download | pkgsrc-ff2aaede36ed6c18ce73cec1a0b81921ff8b6070.tar.gz |
hand IS_LESSTIF off to MAKEFLAGS, and don't (re)calculate if not necessary
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 5de9604a161..c00e2a84b86 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.527 2000/08/01 00:47:00 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.528 2000/08/01 01:00:16 hubertf Exp $ # # This file is in the public domain. # @@ -728,7 +728,10 @@ LESSTIF_DEPENDS= lesstif12-*:../../x11/lesstif12 LESSTIF_DEPENDS= lesstif-*:../../x11/lesstif .endif .if exists(${MOTIFBASE}/include/Xm/Xm.h) +.if !defined(IS_LESSTIF) IS_LESSTIF!= ${EGREP} -c LESSTIF ${MOTIFBASE}/include/Xm/Xm.h || ${TRUE} +MAKEFLAGS+= IS_LESSTIF=${IS_LESSTIF} +.endif # !IS_LESSTIF .if (${IS_LESSTIF} != "0") || \ (defined(USE_MOTIF12) && exists(${MOTIFBASE}/include/Xm/Gadget.h)) DEPENDS+= ${LESSTIF_DEPENDS} |