summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-10-01 14:30:15 +0000
committerjmmv <jmmv>2005-10-01 14:30:15 +0000
commit139b84b4de574253380bf1796c36ffd4514db9f3 (patch)
tree50f64e2a569f5848f5217ab1f367b8adb67f2acd /mk
parent46a9cdc640ba0295f1b32d478e664603deb06830 (diff)
downloadpkgsrc-139b84b4de574253380bf1796c36ffd4514db9f3.tar.gz
Check for PKG_DEVELOPER in the same way as we do in other places.
Should fix problems if the variable is undefined.
Diffstat (limited to 'mk')
-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 e249e0f5962..b722f62f7a2 100644
--- a/mk/tools/pkg-config.mk
+++ b/mk/tools/pkg-config.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pkg-config.mk,v 1.3 2005/10/01 12:55:20 jmmv Exp $
+# $NetBSD: pkg-config.mk,v 1.4 2005/10/01 14:30:15 jmmv Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -52,7 +52,7 @@ MAKE_ENV+= PKG_CONFIG=${TOOLS_CMD.pkg-config:Q}
MAKE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}
MAKE_ENV+= PKG_CONFIG_LOG=${_PKG_CONFIG_LOG}
-.if !empty(PKG_DEVELOPER:M[Yy][Ee][Ss])
+.if defined(PKG_DEVELOPER)
post-build: pkgconfig-post-build
pkgconfig-post-build: