diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-10-01 14:30:15 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-10-01 14:30:15 +0000 |
commit | 193eca4140ad2dd3a036cecfbe41b15b20519e1d (patch) | |
tree | 50f64e2a569f5848f5217ab1f367b8adb67f2acd /mk/tools | |
parent | 57e4733009a820110b2d26f45f0582e0a0fa7613 (diff) | |
download | pkgsrc-193eca4140ad2dd3a036cecfbe41b15b20519e1d.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/tools')
-rw-r--r-- | mk/tools/pkg-config.mk | 4 |
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: |