Subject: pkg/21657: pkgsrc/devel/boehm-gc/buildlink2.mk should have more BUILDLINK_FILES
To: None <gnats-bugs@gnats.netbsd.org>
From: Toru TAKAMIZU <ttaka@earth.email.ne.jp>
List: netbsd-bugs
Date: 05/23/2003 17:20:48
>Number:         21657
>Category:       pkg
>Synopsis:       pkgsrc/devel/boehm-gc/buildlink2.mk should have more BUILDLINK_FILES
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 23 08:21:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Toru TAKAMIZU
>Release:        NetBSD 1.6.1_STABLE
>Organization:
>Environment:
System: NetBSD localhost 1.6.1_STABLE NetBSD 1.6.1_STABLE (MIWA) #27: Mon Apr 28 18:45:35 JST 2003 toru@localhost:/usr/src/sys/arch/i386/compile/MIWA i386
Architecture: i386
Machine: i386
>Description:
Now that "patch-af" has gone, include/*.h files should be included as
"BUILDLINK_FILES.boehm-gc+=", otherwise you cannot compile pkgsrc/www/w3m.
>How-To-Repeat:
Under pkgsrc/www/w3m, type "make".
>Fix:
The following patch works, but I don't fully understand buildlink2 framework,
sorry.

Index: buildlink2.mk
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/devel/boehm-gc/buildlink2.mk,v
retrieving revision 1.6
diff -u -r1.6 buildlink2.mk
--- buildlink2.mk	2003/05/22 16:46:49	1.6
+++ buildlink2.mk	2003/05/23 08:11:41
@@ -14,6 +14,9 @@
 
 EVAL_PREFIX+=	BUILDLINK_PREFIX.boehm-gc=boehm-gc
 BUILDLINK_PREFIX.boehm-gc_DEFAULT=	${LOCALBASE}
+BUILDLINK_FILES.boehm-gc+=	include/gc.h
+BUILDLINK_FILES.boehm-gc+=	include/gc_*
+BUILDLINK_FILES.boehm-gc+=	include/leak_detector.h
 BUILDLINK_FILES.boehm-gc+=	include/gc/*
 BUILDLINK_FILES.boehm-gc+=	lib/libgc.*
 BUILDLINK_FILES.boehm-gc+=	lib/libleak.*
>Release-Note:
>Audit-Trail:
>Unformatted: