Subject: pkg/17265: chat/lmme 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:19
>Number:         17265
>Category:       pkg
>Synopsis:       pkg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 15 13:54:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:

chat/lmme 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/chat/lmme/Makefile,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 Makefile
--- Makefile	2002/05/31 10:20:04	1.1.1.1
+++ Makefile	2002/06/15 20:24:10
@@ -13,9 +13,10 @@
 USE_GMAKE=		YES
 GNU_CONFIGURE=		YES
 CXXFLAGS+=		-Dselect=pth_select -Dsleep=pth_sleep -Dread=pth_read -Dwrite=pth_write
+USE_PTHREAD=		native pth
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/lmme ${PREFIX}/bin/lmme
 
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: