summaryrefslogtreecommitdiff
path: root/pkgtools/x11-links
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-17 06:01:17 +0000
committerjlam <jlam@pkgsrc.org>2004-03-17 06:01:17 +0000
commitb736c409189dca131ebc27af7f7530faf9c305b3 (patch)
tree7a419fc99b1c4fa92e147a94353215bb11a1fd37 /pkgtools/x11-links
parentc723cba6b2262f667fbb8fc80033449b55f8f3ce (diff)
downloadpkgsrc-b736c409189dca131ebc27af7f7530faf9c305b3.tar.gz
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.
Diffstat (limited to 'pkgtools/x11-links')
-rw-r--r--pkgtools/x11-links/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
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.
#