Subject: pkg/17273: databases/unixodbc 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:15:50
>Number: 17273
>Category: pkg
>Synopsis: databases/unixodbc 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:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:
databases/unixodbc 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.common
===================================================================
RCS file: /cvsroot/pkgsrc/databases/unixodbc/Makefile.common,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile.common
--- Makefile.common 2001/12/04 15:55:47 1.5
+++ Makefile.common 2002/06/15 21:13:19
@@ -18,6 +18,8 @@
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+USE_PTHREAD= native pth
+
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --enable-threads
@@ -59,4 +61,4 @@
done
.include "../../devel/libtool/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
Index: buildlink.mk
===================================================================
RCS file: /cvsroot/pkgsrc/databases/unixodbc/buildlink.mk,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 buildlink.mk
--- buildlink.mk 2001/11/06 04:08:34 1.1.1.1
+++ buildlink.mk 2002/06/15 21:13:19
@@ -37,8 +37,10 @@
BUILDLINK_FILES.unixodbc+= lib/libodbcextras.*
BUILDLINK_FILES.unixodbc+= lib/libodbcinst.*
+USE_PTHREAD= native pth
+
.include "../../devel/libtool/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
BUILDLINK_TARGETS.unixodbc= unixodbc-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.unixodbc}
>Release-Note:
>Audit-Trail:
>Unformatted: