summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-10 19:26:57 +0000
committerjmmv <jmmv>2003-05-10 19:26:57 +0000
commit402f94d718703a3648b2da434cba7bf12bbeebeb (patch)
treee98cc0d4115a352cb94ac2ca9838b564d75fcd45 /devel
parentfc0faf94e165e9c9dbcc025f85a1f96fc4b34708 (diff)
downloadpkgsrc-402f94d718703a3648b2da434cba7bf12bbeebeb.tar.gz
Link header files in two different places, as many programs search them
in include/ rather than include/gc/. When boehm-gc 6.2 is out, this should be removed, fixing the package to install things in both places as intended (removing patch-af), bumping the version in this buildlink and bumping revisions for all packages using this one. As discussed with wiz@. Fixes pkg/21521 by charlie at rubberduck.com.
Diffstat (limited to 'devel')
-rw-r--r--devel/boehm-gc/buildlink2.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/boehm-gc/buildlink2.mk b/devel/boehm-gc/buildlink2.mk
index ff6f6119376..f9ad61c2865 100644
--- a/devel/boehm-gc/buildlink2.mk
+++ b/devel/boehm-gc/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.4 2003/05/09 12:53:26 jmmv Exp $
+# $NetBSD: buildlink2.mk,v 1.5 2003/05/10 19:26:57 jmmv Exp $
#
# This Makefile fragment is included by packages that use boehm-gc.
#
@@ -18,8 +18,13 @@ BUILDLINK_FILES.boehm-gc+= include/gc/*
BUILDLINK_FILES.boehm-gc+= lib/libgc.*
BUILDLINK_FILES.boehm-gc+= lib/libleak.*
-BUILDLINK_TARGETS+= boehm-gc-buildlink
+BUILDLINK_TARGETS+= boehm-gc-buildlink boehm-gc-symlinks
boehm-gc-buildlink: _BUILDLINK_USE
+boehm-gc-symlinks:
+ @cd ${BUILDLINK_DIR}/include && for hdr in gc/*.h; do \
+ ${LN} -s $${hdr} .; \
+ done
+
.endif # BOEHM_GC_BUILDLINK2_MK