pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Turn the location of the *.pc files in which ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12d360fc7015
branches:  trunk
changeset: 498215:12d360fc7015
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Aug 16 13:32:00 2005 +0000

description:
Turn the location of the *.pc files in which the pkg-config wrapper will
look into a private variable _PKG_CONFIG_LIBDIR.  This variable should
*NOT* be settable by the user.

diffstat:

 mk/tools/pkg-config.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r ad90d8418193 -r 12d360fc7015 mk/tools/pkg-config.mk
--- a/mk/tools/pkg-config.mk    Tue Aug 16 12:57:56 2005 +0000
+++ b/mk/tools/pkg-config.mk    Tue Aug 16 13:32:00 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pkg-config.mk,v 1.1 2005/08/10 20:56:20 jlam Exp $
+# $NetBSD: pkg-config.mk,v 1.2 2005/08/16 13:32:00 jlam Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -39,12 +39,12 @@
 # Override the location where pkg-config searches for *.pc files in the
 # pkg-config wrapper script.
 #
-PKG_CONFIG_LIBDIR?=    ${BUILDLINK_DIR}/lib/pkgconfig
+_PKG_CONFIG_LIBDIR?=   ${BUILDLINK_DIR}/lib/pkgconfig
 
 TOOLS_SCRIPT.pkg-config=       \
-       PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:Q} ${TOOLS_SCRIPT_DFLT.pkg-config}
+       PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q} ${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_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}
 MAKE_ENV+=     PKG_CONFIG=${TOOLS_CMD.pkg-config:Q}
-MAKE_ENV+=     PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:Q}
+MAKE_ENV+=     PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}



Home | Main Index | Thread Index | Old Index