aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 14a0885c0aae..20578ccc3883 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1825,8 +1825,10 @@ RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS}
# Ignore STAGEDIR if set from make.conf
.undef STAGEDIR
# From command line it is impossible to undefined so we must raise an error
+.if defined(STAGEDIR)
IGNORE= Do not define STAGEDIR in command line
.endif
+.endif
.if defined(WITH_PKGNG)
.include "${PORTSDIR}/Mk/bsd.pkgng.mk"