diff options
author | rillig <rillig> | 2007-02-23 02:49:56 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-02-23 02:49:56 +0000 |
commit | d86b76a159c2685338ed5b7c3241a25fb94d8bb0 (patch) | |
tree | dd395d2d9124f796ac269ebb713c9af9d42b16d8 /mk/tools/pkg-config.mk | |
parent | 9f0a62c64190b865d688348072b85499b8a3ca00 (diff) | |
download | pkgsrc-d86b76a159c2685338ed5b7c3241a25fb94d8bb0.tar.gz |
Too many packages fail in mysterious ways when they cannot find
pkg-config, which happens mostly after updating a package. Therefore, a
failing wrapper is installed for this tool.
Diffstat (limited to 'mk/tools/pkg-config.mk')
-rw-r--r-- | mk/tools/pkg-config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/pkg-config.mk b/mk/tools/pkg-config.mk index 41a1718082a..37d48b5917a 100644 --- a/mk/tools/pkg-config.mk +++ b/mk/tools/pkg-config.mk @@ -1,4 +1,4 @@ -# $NetBSD: pkg-config.mk,v 1.6 2006/08/06 09:35:39 jmmv Exp $ +# $NetBSD: pkg-config.mk,v 1.7 2007/02/23 02:49:56 rillig Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -42,8 +42,10 @@ _PKG_CONFIG_LIBDIR?= ${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgconfig _PKG_CONFIG_LOG?= ${WRKDIR}/.pkg-config.log +.if !empty(USE_TOOLS:C/\:.*//:Mpkg-config) TOOLS_SCRIPT.pkg-config= \ PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q} ${TOOLS_SCRIPT_DFLT.pkg-config} +.endif CONFIGURE_ENV+= PKG_CONFIG=${TOOLS_CMD.pkg-config:Q} CONFIGURE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q} |