diff options
author | jmmv <jmmv@pkgsrc.org> | 2008-04-20 19:32:31 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2008-04-20 19:32:31 +0000 |
commit | 771c8ca8de7fcdcc59e5faa6317323a92f39b587 (patch) | |
tree | a090a594583bc16b6d4b2283404b2d0470550844 /mk/tools | |
parent | b76355064473ad742cf4ba99d01bcb9307353bff (diff) | |
download | pkgsrc-771c8ca8de7fcdcc59e5faa6317323a92f39b587.tar.gz |
Reset PKG_CONFIG_PATH in the environment. Fixes misterious build problems
of packages when it is already defined by the user.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/pkg-config.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/tools/pkg-config.mk b/mk/tools/pkg-config.mk index 40d0cd8c835..b47ea6b187f 100644 --- a/mk/tools/pkg-config.mk +++ b/mk/tools/pkg-config.mk @@ -1,4 +1,4 @@ -# $NetBSD: pkg-config.mk,v 1.8 2007/03/05 23:35:59 rillig Exp $ +# $NetBSD: pkg-config.mk,v 1.9 2008/04/20 19:32:31 jmmv Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -43,14 +43,16 @@ _PKG_CONFIG_LIBDIR?= ${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgco _PKG_CONFIG_LOG?= ${WRKDIR}/.pkg-config.log TOOLS_SCRIPT.pkg-config= \ - PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q} ${TOOLS_SCRIPT_DFLT.pkg-config} + PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q} PKG_CONFIG_PATH= ${TOOLS_SCRIPT_DFLT.pkg-config} CONFIGURE_ENV+= PKG_CONFIG=${TOOLS_CMD.pkg-config:Q} CONFIGURE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q} CONFIGURE_ENV+= PKG_CONFIG_LOG=${_PKG_CONFIG_LOG:Q} +CONFIGURE_ENV+= PKG_CONFIG_PATH= 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:Q} +MAKE_ENV+= PKG_CONFIG_PATH= .if defined(PKG_DEVELOPER) post-build: pkgconfig-post-build |