summaryrefslogtreecommitdiffstats
path: root/usr.bin/bmake
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-05-17 19:37:16 +0000
committersjg <sjg@FreeBSD.org>2013-05-17 19:37:16 +0000
commit155b65a40f1f92ffbc2385313f8d4abd1f8d57d3 (patch)
tree31795aae9313ad27428d807d124c35a341b1e82c /usr.bin/bmake
parentc519844bb9454e15fd95b2f0cb9e9839aac5bc9c (diff)
downloadFreeBSD-src-155b65a40f1f92ffbc2385313f8d4abd1f8d57d3.zip
FreeBSD-src-155b65a40f1f92ffbc2385313f8d4abd1f8d57d3.tar.gz
We really need to get the bsd.own.mk from this tree so the
correct options are set. Also defined NO_PWD_OVERRIDE to match behavior of fmake.
Diffstat (limited to 'usr.bin/bmake')
-rw-r--r--usr.bin/bmake/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/bmake/Makefile.inc b/usr.bin/bmake/Makefile.inc
index b6d5ad8..7b5f545 100644
--- a/usr.bin/bmake/Makefile.inc
+++ b/usr.bin/bmake/Makefile.inc
@@ -1,5 +1,12 @@
# $FreeBSD$
+# we need the up to date bsd.own.mk
+.if ${.CURDIR:M*make} == ""
+.sinclude "share/mk/bsd.own.mk"
+.else
+.sinclude "../../share/mk/bsd.own.mk"
+.endif
+# the above should have found it...
.include "bsd.own.mk"
.if defined(.PARSEDIR)
@@ -16,3 +23,4 @@ NO_SHARED?= YES
.endif
WARNS=3
+CFLAGS+= -DNO_PWD_OVERRIDE
OpenPOWER on IntegriCloud