Subject: pkg/17269: misc/openoffice 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:02
>Number:         17269
>Category:       pkg
>Synopsis:       misc/openoffice 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:

misc/openoffice 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/misc/openoffice/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	2002/05/08 08:05:47	1.12
+++ Makefile	2002/06/15 21:00:22
@@ -16,6 +16,8 @@
 HOMEPAGE=		http://www.openoffice.org/
 COMMENT=		Integrated office productivity suite
 
+USE_PTHREAD=		native pth
+
 # OpenOffice requires gcc 2.95.2 or better,
 # so for NetBSD<=1.5 we need the package lang/gcc.
 GCC_VERSION!=		${CC} --version
@@ -29,10 +31,8 @@
 BUILD_DEPENDS+=		stlport>=4.0nb1:../../devel/stlport
 BUILD_DEPENDS+=		sun-jdk>=1.3.0:../../lang/sun-jdk13
 
-BUILDLINK_DEPENDS.pth=	pth>=1.4.0nb1
-
 .include "../../lang/perl5/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
 .include "../../mk/x11.buildlink.mk"
 
 CONFLICTS=		staroffice-[0-9]*
>Release-Note:
>Audit-Trail:
>Unformatted: