summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-08-16 13:32:00 +0000
committerjlam <jlam@pkgsrc.org>2005-08-16 13:32:00 +0000
commit151a84db646e30ce2920383e461b9b52c49d1f47 (patch)
tree10b92528802b5accd4afbba95e71c29ade24f2a4 /mk
parentaf758076efbcbea1400b9caa664c27ea511bc992 (diff)
downloadpkgsrc-151a84db646e30ce2920383e461b9b52c49d1f47.tar.gz
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 (limited to 'mk')
-rw-r--r--mk/tools/pkg-config.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/tools/pkg-config.mk b/mk/tools/pkg-config.mk
index 5c1d512c030..e228f0ed6d8 100644
--- a/mk/tools/pkg-config.mk
+++ b/mk/tools/pkg-config.mk
@@ -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}