diff options
author | jlam <jlam> | 2004-02-16 21:01:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-16 21:01:17 +0000 |
commit | cfa8430d3f5ec60d1f3b24751603ef8ee94c2825 (patch) | |
tree | 5a1b0aec474b25606c4520845d6e3c664e85c07a /devel/pkgconfig | |
parent | e6772028b51303d19bbfd2eb183a4fffd9dc5a39 (diff) | |
download | pkgsrc-cfa8430d3f5ec60d1f3b24751603ef8ee94c2825.tar.gz |
Symlink any *.pc files into ${BUILDLINK_DIR} for dependencies and force
pkg-config to only look in ${BUILDLINK_DIR}/lib/pkgconfig for *.pc files.
This will correctly hide the presence of software from configure scripts
that query pkg-config for that information.
Idea suggested by Julio M. Merino Vidal.
Diffstat (limited to 'devel/pkgconfig')
-rw-r--r-- | devel/pkgconfig/buildlink3.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/pkgconfig/buildlink3.mk b/devel/pkgconfig/buildlink3.mk index bca6210ab6b..f56a61281ee 100644 --- a/devel/pkgconfig/buildlink3.mk +++ b/devel/pkgconfig/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2004/02/14 21:54:12 jmmv Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2004/02/16 21:01:17 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PKGCONFIG_BUILDLINK3_MK:= ${PKGCONFIG_BUILDLINK3_MK}+ @@ -13,11 +13,11 @@ BUILDLINK_DEPENDS.pkgconfig+= pkgconfig>=0.15.0 BUILDLINK_PKGSRCDIR.pkgconfig?= ../../devel/pkgconfig BUILDLINK_DEPMETHOD.pkgconfig?= build -PKG_CONFIG_PATH?= ${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig -CONFIGURE_ENV+= PKG_CONFIG="${BUILDLINK_PREFIX.pkgconfig}/bin/pkg-config" -CONFIGURE_ENV+= PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" -MAKE_ENV+= PKG_CONFIG="${BUILDLINK_PREFIX.pkgconfig}/bin/pkg-config" -MAKE_ENV+= PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" +PKG_CONFIG_LIBDIR?= ${BUILDLINK_DIR}/lib/pkgconfig +CONFIGURE_ENV+= PKG_CONFIG=${BUILDLINK_PREFIX.pkgconfig}/bin/pkg-config +CONFIGURE_ENV+= PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:Q} +MAKE_ENV+= PKG_CONFIG=${BUILDLINK_PREFIX.pkgconfig}/bin/pkg-config +MAKE_ENV+= PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:Q} .endif # PKGCONFIG_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |