summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorbad <bad>2010-08-24 19:08:28 +0000
committerbad <bad>2010-08-24 19:08:28 +0000
commit116229e10d936f996ae6a54cdfb51e00cf9549e2 (patch)
tree5c43182a8bf05c135f3b34fc1fee2ec4b52e10d1 /mk/bsd.pkg.mk
parentde2ea5fa991897841557d5e6e80be0a3ab12aecd (diff)
downloadpkgsrc-116229e10d936f996ae6a54cdfb51e00cf9549e2.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"