Subject: pkg/17268: audio/kdemultimedia2 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:37
>Number:         17268
>Category:       pkg
>Synopsis:       audio/kdemultimedia2 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:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:

audio/kdemultimedia2 includes devel/pth/buildlink.mk directly but should
include mk/pthread.buildlink.mk and set USE_PTHREAD to 'native pth' instead.
also remove duplicate BUILDLINK_DEPENDS.pth.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/kdemultimedia2/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile	2002/03/13 17:36:37	1.10
+++ Makefile	2002/06/15 20:24:27
@@ -10,8 +10,8 @@
 BUILD_DEPENDS+=	qt2-designer-kde>=2.3.1nb2:../../x11/qt2-designer-kde
 DEPENDS+=	xanim>=2.80.0:../../graphics/xanim
 
-BUILDLINK_DEPENDS.pth=	pth>=1.4.0
 USE_BUILDLINK_ONLY=	YES
+USE_PTHREAD=		native pth
 
 CONFIGURE_ENV+=		ac_cv_path_kde_artsplug_compiles="${ARTSCCONFIG}"
 
@@ -21,7 +21,7 @@
 LIBS=			-Wl,--export-dynamic
 .endif
 
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
 .include "../../x11/kde2/buildlink.mk"
 .include "../../x11/kdebase2/buildlink.mk"
 .include "../../mk/x11.buildlink.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: