summaryrefslogtreecommitdiff
path: root/databases/db4/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-17 21:32:10 +0000
committerjlam <jlam>2004-11-17 21:32:10 +0000
commitd1ad886c7e67f2d9efb40a9653810d9ed9dca908 (patch)
treeb289659ef29190d9bddc5fefed97bdc0d578eb26 /databases/db4/Makefile
parentfe2e658a85a5897b68f881fdf4a7038156adbafc (diff)
downloadpkgsrc-d1ad886c7e67f2d9efb40a9653810d9ed9dca908.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/db4/Makefile')
-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