Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167602265
D3228.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3228.diff
View Options
Index: head/share/mk/sys.mk
===================================================================
--- head/share/mk/sys.mk
+++ head/share/mk/sys.mk
@@ -33,16 +33,23 @@
# early include for customization
# see local.sys.mk below
-.-include <local.sys.env.mk>
+# Not included when building in fmake compatibility mode (still needed
+# for older system support)
+.if defined(.PARSEDIR)
+.sinclude <local.sys.env.mk>
.if ${MK_META_MODE} == "yes"
-.-include <meta.sys.mk>
-.elif ${MK_META_FILES} == "yes" && ${.MAKEFLAGS:U:M-B} == ""
+.sinclude <meta.sys.mk>
+.elif ${MK_META_FILES} == "yes" && defined(.MAKEFLAGS)
+.if ${.MAKEFLAGS:M-B} == ""
.MAKE.MODE= meta verbose
.endif
+.endif
.if ${MK_AUTO_OBJ} == "yes"
# This needs to be done early - before .PATH is computed
-.-include <auto.obj.mk>
+.sinclude <auto.obj.mk>
+.endif
+
.endif
# If the special target .POSIX appears (without prerequisites or
@@ -362,7 +369,7 @@
.endif
# late include for customization
-.-include <local.sys.mk>
+.sinclude <local.sys.mk>
.if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL)
SHELL= ${__MAKE_SHELL}
@@ -379,11 +386,12 @@
# when running target scripts, this is a problem for many makefiles here.
# So define a shell that will do what FreeBSD expects.
.ifndef WITHOUT_SHELL_ERRCTL
+__MAKE_SHELL?=/bin/sh
.SHELL: name=sh \
quiet="set -" echo="set -v" filter="set -" \
hasErrCtl=yes check="set -e" ignore="set +e" \
echoFlag=v errFlag=e \
- path=${__MAKE_SHELL:U/bin/sh}
+ path=${__MAKE_SHELL}
.endif
.include <bsd.cpu.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 24, 1:10 AM (10 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37168950
Default Alt Text
D3228.diff (1 KB)
Attached To
Mode
D3228: Make sys.mk more compatible with fmake by refraining from using :U modifiers.
Attached
Detach File
Event Timeline
Log In to Comment