summaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-05-10 19:26:57 +0000
committerjmmv <jmmv@pkgsrc.org>2003-05-10 19:26:57 +0000
commit6a552d9e800f7a455f8bbaabc9e4afdfbe111234 (patch)
treee98cc0d4115a352cb94ac2ca9838b564d75fcd45 /devel/boehm-gc
parent76a0da24a82deb8e1fe74ad5b2fb8cc6eacb71d1 (diff)
downloadpkgsrc-6a552d9e800f7a455f8bbaabc9e4afdfbe111234.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