From e95593a479051f397d0de226fa37f540cc607efb Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 16 Feb 2004 21:01:17 +0000 Subject: 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. --- mk/buildlink3/bsd.buildlink3.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/buildlink3') 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_}} | \ -- cgit v1.2.3