Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106076144
D27211.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
621 B
Referenced Files
None
Subscribers
None
D27211.diff
View Options
Index: head/share/mk/bsd.subdir.mk
===================================================================
--- head/share/mk/bsd.subdir.mk
+++ head/share/mk/bsd.subdir.mk
@@ -127,6 +127,12 @@
SUBDIR:=${SUBDIR:u}
.endif
+.if defined(SUBDIR.)
+.error ${.CURDIR}: Found variable SUBDIR. with value "${SUBDIR.}". This was \
+ probably caused by using SUBDIR.$${MK_FOO} without including \
+ <src.opts.mk> or by using an invalid $${MK_FOO} option.
+.endif
+
# Subdir code shared among 'make <subdir>', 'make <target>' and SUBDIR_PARALLEL.
_SUBDIR_SH= \
if test -d ${.CURDIR}/$${dir}.${MACHINE_ARCH}; then \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 12:04 AM (11 m, 36 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15599761
Default Alt Text
D27211.diff (621 B)
Attached To
Mode
D27211: Add a guard for broken SUBDIR.${MK_FOO} use
Attached
Detach File
Event Timeline
Log In to Comment