summaryrefslogtreecommitdiff
path: root/mk/tools
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/tools
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/tools')
-rw-r--r--mk/tools/pkg-config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/pkg-config.mk b/mk/tools/pkg-config.mk
index b47ea6b187f..d5eea26c0ca 100644
--- a/mk/tools/pkg-config.mk
+++ b/mk/tools/pkg-config.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pkg-config.mk,v 1.9 2008/04/20 19:32:31 jmmv Exp $
+# $NetBSD: pkg-config.mk,v 1.10 2010/08/24 19:08:29 bad Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -54,7 +54,7 @@ MAKE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}
MAKE_ENV+= PKG_CONFIG_LOG=${_PKG_CONFIG_LOG:Q}
MAKE_ENV+= PKG_CONFIG_PATH=
-.if defined(PKG_DEVELOPER)
+.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no"
post-build: pkgconfig-post-build
pkgconfig-post-build: