summaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-10 19:26:57 +0000
committerjmmv <jmmv>2003-05-10 19:26:57 +0000
commit8373ad78b5028983396b9a3cb47d0e40f1a558cd (patch)
treee98cc0d4115a352cb94ac2ca9838b564d75fcd45 /devel/boehm-gc
parenta9c1434ab298e3fc10bb56f7a6297dc719abdef4 (diff)
downloadpkgsrc-8373ad78b5028983396b9a3cb47d0e40f1a558cd.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/boehm-gc')
-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