pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/db4 Further refinement... if we're using GCC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da0163c6604b
branches:  trunk
changeset: 483716:da0163c6604b
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Nov 17 21:32:10 2004 +0000

description:
Further refinement... if we're using GCC, ignore any -lpthread found on
the system as we don't need it.

diffstat:

 databases/db4/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 39d9139fe5d1 -r da0163c6604b databases/db4/Makefile
--- a/databases/db4/Makefile    Wed Nov 17 21:16:45 2004 +0000
+++ b/databases/db4/Makefile    Wed Nov 17 21:32:10 2004 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index