summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-03-26 20:11:09 +0000
committeremaste <emaste@FreeBSD.org>2013-03-26 20:11:09 +0000
commit33c0064160a5ad99bd5efb81c88e67543339a11a (patch)
tree6a6dc6236491cd5e45d1d6f23063654ea133568f /share/mk
parente84569c7e852f48368901c8963ecc87c665fe8eb (diff)
downloadFreeBSD-src-33c0064160a5ad99bd5efb81c88e67543339a11a.zip
FreeBSD-src-33c0064160a5ad99bd5efb81c88e67543339a11a.tar.gz
Unconditionally include ${SRCCONF} if overridden
This avoids silently failing to include ${SRCCONF} specified by a make(1) invocation.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.own.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index baac40e..f1a15d6 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -117,7 +117,7 @@ __<bsd.own.mk>__:
.if !defined(_WITHOUT_SRCCONF)
SRCCONF?= /etc/src.conf
-.if exists(${SRCCONF})
+.if exists(${SRCCONF}) || ${SRCCONF} != "/etc/src.conf"
.include "${SRCCONF}"
.endif
.endif
OpenPOWER on IntegriCloud