summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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