From 4d7d2898448858b67c22a7c578f2876b4800d64a Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 1 Oct 2005 14:30:15 +0000 Subject: Check for PKG_DEVELOPER in the same way as we do in other places. Should fix problems if the variable is undefined. --- mk/tools/pkg-config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/tools') 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: -- cgit v1.2.3