From b736c409189dca131ebc27af7f7530faf9c305b3 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 17 Mar 2004 06:01:17 +0000 Subject: Force all of the headers and libraries to be symlinked into ${BUILDLINK_X11_DIR}, even in the "pkgviews" case. This makes building X11 packages work with pkgviews again after the X11_TYPE-related changes. --- pkgtools/x11-links/buildlink3.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pkgtools/x11-links') diff --git a/pkgtools/x11-links/buildlink3.mk b/pkgtools/x11-links/buildlink3.mk index 0ed4b99f74e..e513a391121 100644 --- a/pkgtools/x11-links/buildlink3.mk +++ b/pkgtools/x11-links/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1 2004/03/11 00:50:14 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/03/17 06:01:17 jlam Exp $ # # Don't include this file manually! It will be included as necessary # by bsd.buildlink3.mk. @@ -21,6 +21,12 @@ BUILDLINK_DEPENDS.x11-links+= x11-links>=0.23 BUILDLINK_PKGSRCDIR.x11-links?= ../../pkgtools/x11-links BUILDLINK_DEPMETHOD.x11-links?= build +# Force all of the headers and libraries to be symlinked into +# ${BUILDLINK_X11_DIR}, even in the "pkgviews" case. +# +BUILDLINK_CONTENTS_FILTER.x11-links= \ + ${EGREP} '(include.*/|\.h$$|\.pc$$|/lib[^/]*$$)' + # Rename the symlinks so that they appear in ${BUILDLINK_X11_DIR}/include # and ${BUILDLINK_X11_DIR}/lib. # -- cgit v1.2.3