diff options
author | jlam <jlam> | 2004-02-16 21:01:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-16 21:01:17 +0000 |
commit | bfd03f75b7d279c91cb107bbcc8706e863cdbb2d (patch) | |
tree | 5a1b0aec474b25606c4520845d6e3c664e85c07a /mk/buildlink3 | |
parent | 6b8a0b0d3f5ee13f97db95daf6c26cc739928be9 (diff) | |
download | pkgsrc-bfd03f75b7d279c91cb107bbcc8706e863cdbb2d.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 'mk/buildlink3')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 9419da62bc8..a79a0f2ca34 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.86 2004/02/16 03:08:52 jlam Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.87 2004/02/16 21:01:17 jlam Exp $ # # An example package buildlink3.mk file: # @@ -484,7 +484,7 @@ BUILDLINK_CONTENTS_FILTER.${_pkg_}?= \ ${GREP} 'lib.*/lib[^/]*\.la$$' . else BUILDLINK_CONTENTS_FILTER.${_pkg_}?= \ - ${EGREP} '(include.*/|\.h$$|lib.*/lib[^/]*$$)' + ${EGREP} '(include.*/|\.h$$|\.pc$$|lib.*/lib[^/]*$$)' . endif BUILDLINK_FILES_CMD.${_pkg_}?= \ ${_BLNK_PKG_INFO.${_pkg_}} -f ${BUILDLINK_PKGNAME.${_pkg_}} | \ |