Subject: pkg/17272: graphics/clanlib 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:08:32
>Number: 17272
>Category: pkg
>Synopsis: graphics/clanlib 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:09:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:
graphics/clanlib includes devel/pth/buildlink.mk directly but should include
mk/pthread.buildlink.mk and set USE_PTHREAD to 'native pth' instead. in
Makefile and buildlink.mk too.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/clanlib/Makefile,v
retrieving revision 1.25
diff -u -u -r1.25 Makefile
--- Makefile 2002/03/13 17:37:04 1.25
+++ Makefile 2002/06/15 20:22:56
@@ -13,6 +13,7 @@
USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_PTHREAD= native pth
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-asm386
@@ -38,7 +39,7 @@
.include "../../graphics/hermes/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/Mesa/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
.include "../../mk/ossaudio.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
Index: buildlink.mk
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/clanlib/buildlink.mk,v
retrieving revision 1.9
diff -u -u -r1.9 buildlink.mk
--- buildlink.mk 2002/03/13 17:37:04 1.9
+++ buildlink.mk 2002/06/15 20:22:56
@@ -35,10 +35,12 @@
BUILDLINK_FILES.ClanLib+= include/ClanLib/MikMod/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/png/*
+USE_PTHREAD= native pth
+
.include "../../graphics/hermes/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/Mesa/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
BUILDLINK_TARGETS.ClanLib= ClanLib-buildlink
BUILDLINK_TARGETS.ClanLib+= ClanLib-buildlink-config-wrapper
>Release-Note:
>Audit-Trail:
>Unformatted: