diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-11-19 16:28:52 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-11-19 16:28:52 +0000 |
commit | 8ef03c79e13e6476151d397493e56fff8e264180 (patch) | |
tree | e984ddccf1ba43079c25932a34ac5fec465fc3d3 /share/mk/bsd.own.mk | |
parent | 7850265edd10f3d79a5e81ffedb25aefffaaa768 (diff) | |
download | src-8ef03c79e13e6476151d397493e56fff8e264180.tar.gz src-8ef03c79e13e6476151d397493e56fff8e264180.zip |
Try harder to not leak src/ build stuff into ports/ environment
by not exposing the MK_* variables that were designed for src/.
Requested by: many
Notes
Notes:
svn path=/head/; revision=164411
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r-- | share/mk/bsd.own.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 790582f4ccca..bde0e3f3a560 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -104,10 +104,12 @@ .if !target(__<bsd.own.mk>__) __<bsd.own.mk>__: +.if !defined(_WITHOUT_SRCCONF) SRCCONF?= /etc/src.conf .if exists(${SRCCONF}) .include "${SRCCONF}" .endif +.endif # Binaries BINOWN?= root @@ -170,6 +172,7 @@ STRIP?= -s COMPRESS_CMD?= gzip -cn COMPRESS_EXT?= .gz +.if !defined(_WITHOUT_SRCCONF) # # Define MK_* variables (which are either "yes" or "no") for users # to set via WITH_*/WITHOUT_* in /etc/src.conf and override in the @@ -448,5 +451,6 @@ MK_${var}_SUPPORT:= no MK_${var}_SUPPORT:= yes .endif .endfor +.endif # !_WITHOUT_SRCCONF .endif # !target(__<bsd.own.mk>__) |