summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-17 21:32:10 +0000
committerjlam <jlam>2004-11-17 21:32:10 +0000
commit8e2c221c578192ef418fb6cfdedb36a13aab272f (patch)
treeb289659ef29190d9bddc5fefed97bdc0d578eb26 /databases
parent3b0ee187e7473883c996cdf5e0d806654bd41798 (diff)
downloadpkgsrc-8e2c221c578192ef418fb6cfdedb36a13aab272f.tar.gz
Further refinement... if we're using GCC, ignore any -lpthread found on
the system as we don't need it.
Diffstat (limited to 'databases')
-rw-r--r--databases/db4/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index a81e9ea93b0..1cde0865efa 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/11/17 18:47:19 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2004/11/17 21:32:10 jlam Exp $
DISTNAME= db-4.2.52
PKGNAME= ${DISTNAME:S/db/db4/}
@@ -52,7 +52,9 @@ CONFIGURE_ENV+= LIBSO_LIBS="${LIBSO_LIBS}"
# mutexes.
#
.include "../../mk/compiler.mk"
-.if empty(PKGSRC_COMPILER:Mgcc)
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CONFIGURE_ENV+= ac_cv_lib_pthread_main=no
+.else
PTHREAD_OPTS+= native
. include "../../mk/pthread.buildlink3.mk"
.endif