Subject: pkg/17264: lang/cilk should include mk/pthread.buildlink.mk instead including devel/pth/buildlink.mk directly
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 06/15/2002 22:53:11
>Number:         17264
>Category:       pkg
>Synopsis:       lang/cilk should include mk/pthread.buildlink.mk instead including devel/pth/buildlink.mk directly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 15 13:54:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:

lang/cilk includes devel/pth/buildlink.mk directly but should include
mk/pthread.buildlink.mk and set USE_PTHREAD to 'native pth' instead.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/cilk/Makefile,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 Makefile
--- Makefile	2002/05/04 00:37:28	1.1.1.1
+++ Makefile	2002/06/15 20:22:18
@@ -12,6 +12,7 @@
 GNU_CONFIGURE=		# defined
 USE_GMAKE=		# defined
 USE_BUILDLINK_ONLY= 	# defined
+USE_PTHREAD=		native pth
 
 LTCONFIG_OVERRIDE= 	${WRKSRC}/ltconfig
 
@@ -27,6 +28,6 @@
 		${PREFIX}/share/examples/cilk
 	${INSTALL_DATA} ${WRKSRC}/FAQ/cilk-faq.info ${PREFIX}/info
 
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
 .include "../../mk/texinfo.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: