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 /mk | |
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 'mk')
-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_}} | \ |