summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>2010-08-24 19:08:28 +0000
committerbad <bad@pkgsrc.org>2010-08-24 19:08:28 +0000
commitff39331baaa3cbbfade0d1885f08bb2d7cd2b62e (patch)
tree5c43182a8bf05c135f3b34fc1fee2ec4b52e10d1 /mk/bsd.pkg.mk
parente7399b4e6bb03f5b5ef37a2c6a5b6bb00951b7fe (diff)
downloadpkgsrc-ff39331baaa3cbbfade0d1885f08bb2d7cd2b62e.tar.gz
I'm fed up with having to waste time because PKG_DEVELOPER is "special" and
can't be disabled by setting it to "no" like the other variables. Besides, flavor/pkg/metadata.mk has been expecting for a long time that "no" is a valid value. Make PKG_DEVELOPER DWIM.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index a1210ac6e37..cac423727f8 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1973 2010/07/03 04:27:00 darcy Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1974 2010/08/24 19:08:28 bad Exp $
#
# This file is in the public domain.
#
@@ -778,7 +778,7 @@ ${_MAKEVARS_MK.${_phase_}}: ${WRKDIR}
.include "pbulk/pbulk-index.mk"
.endif
-.if defined(PKG_DEVELOPER)
+.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no"
. include "misc/developer.mk"
.endif
.include "misc/show.mk"