Page MenuHomeFreeBSD

D27211.diff
No OneTemporary

D27211.diff

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

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)

Event Timeline