diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-08-03 19:03:58 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-08-03 19:03:58 +0000 |
commit | 37dea055cce10bd75617108cd98978cfb3240983 (patch) | |
tree | 4c931e7cd98d4cfe3ff1e4b107fab9e66c0dd135 /Mk/bsd.port.mk | |
parent | f7ce5833897cf1987dec55e6e8f791a4572d2c0e (diff) | |
download | ports-37dea055cce10bd75617108cd98978cfb3240983.tar.gz ports-37dea055cce10bd75617108cd98978cfb3240983.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index ac136c17ea7b..a5146818808e 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -803,6 +803,12 @@ check-makefile:: _PREMKINCLUDED= yes +.if defined(MAKE_VERSION) +.if ${MAKE_VERSION} >= 5200408030 || ${MAKE_VERSION} >= 4200408030 && ${MAKE_VERSION} < 5000000000 +NOPRECIOUSSOFTMAKEVARS= yes +.endif +.endif + AWK?= /usr/bin/awk BASENAME?= /usr/bin/basename BRANDELF?= /usr/bin/brandelf @@ -4752,12 +4758,15 @@ depend: tags: .endif -.if !defined(NOPRECIOUSMAKEVARS) +.if !defined(NOPRECIOUSSOFTMAKEVARS) .for softvar in CKSUMFILES _MLINKS .if defined(${softvar}) __softMAKEFLAGS+= '${softvar}+=${${softvar}:S/'/'\''/g}' .endif .endfor +.endif + +.if !defined(NOPRECIOUSMAKEVARS) # These won't change, so we can pass them through the environment .MAKEFLAGS: \ ARCH="${ARCH:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ |