Subject: pkg/17270: emulators/snes9x 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 23:03:05
>Number:         17270
>Category:       pkg
>Synopsis:       emulators/snes9x 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 14:04:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:

emulators/snes9x 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/emulators/snes9x/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	2001/07/17 15:31:24	1.7
+++ Makefile	2002/06/15 20:23:15
@@ -15,6 +15,7 @@
 
 USE_X11=		yes
 USE_GMAKE=		yes
+USE_PTHREAD=		native pth
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${PREFIX}/bin
@@ -52,5 +53,5 @@
 MAKE_ENV+=	NETBSD_USE_DGA=1
 .endif
 
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: