diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-17 21:32:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-17 21:32:10 +0000 |
commit | 9704ddf12cfb891a5c561a9b5e12f7b5644edfa3 (patch) | |
tree | b289659ef29190d9bddc5fefed97bdc0d578eb26 | |
parent | 737075eb247b117f7eab05f4d2c5dd08ba89752a (diff) | |
download | pkgsrc-9704ddf12cfb891a5c561a9b5e12f7b5644edfa3.tar.gz |
Further refinement... if we're using GCC, ignore any -lpthread found on
the system as we don't need it.
-rw-r--r-- | databases/db4/Makefile | 6 |
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 |