pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Reset PKG_CONFIG_PATH in the environment. Fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e268c6c63fd6
branches:  trunk
changeset: 541348:e268c6c63fd6
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Apr 20 19:32:31 2008 +0000

description:
Reset PKG_CONFIG_PATH in the environment.  Fixes misterious build problems
of packages when it is already defined by the user.

diffstat:

 mk/tools/pkg-config.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 06d12aea5629 -r e268c6c63fd6 mk/tools/pkg-config.mk
--- a/mk/tools/pkg-config.mk    Sun Apr 20 17:48:03 2008 +0000
+++ b/mk/tools/pkg-config.mk    Sun Apr 20 19:32:31 2008 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index