summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-17 21:32:10 +0000
committerjlam <jlam@pkgsrc.org>2004-11-17 21:32:10 +0000
commit9704ddf12cfb891a5c561a9b5e12f7b5644edfa3 (patch)
treeb289659ef29190d9bddc5fefed97bdc0d578eb26 /databases
parent737075eb247b117f7eab05f4d2c5dd08ba89752a (diff)
downloadpkgsrc-9704ddf12cfb891a5c561a9b5e12f7b5644edfa3.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