pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Default PTHREAD_AUTO_VARS to the safer value of "no...
details: https://anonhg.NetBSD.org/pkgsrc/rev/61c59e0b6138
branches: trunk
changeset: 484163:61c59e0b6138
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Nov 25 19:34:03 2004 +0000
description:
Default PTHREAD_AUTO_VARS to the safer value of "no". Most packages
that use pthreads already implement their own probes for pthreads, so
we don't need to auto-add the compiler/linker flags.
diffstat:
databases/mysql-client/Makefile.common | 4 +---
databases/mysql4-client/Makefile.common | 4 +---
databases/openldap/Makefile | 7 +------
mail/cyrus-imapd22/Makefile | 3 +--
mk/pthread.buildlink3.mk | 4 ++--
5 files changed, 6 insertions(+), 16 deletions(-)
diffs (92 lines):
diff -r b239a785698f -r 61c59e0b6138 databases/mysql-client/Makefile.common
--- a/databases/mysql-client/Makefile.common Thu Nov 25 19:28:06 2004 +0000
+++ b/databases/mysql-client/Makefile.common Thu Nov 25 19:34:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.35 2004/11/23 16:07:02 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.36 2004/11/25 19:34:03 jlam Exp $
DISTNAME= mysql-4.0.22
CATEGORIES= databases
@@ -72,8 +72,6 @@
CXXFLAGS+= -DHAVE_CURSES_H
.endif
-PTHREAD_AUTO_VARS= no
-
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
diff -r b239a785698f -r 61c59e0b6138 databases/mysql4-client/Makefile.common
--- a/databases/mysql4-client/Makefile.common Thu Nov 25 19:28:06 2004 +0000
+++ b/databases/mysql4-client/Makefile.common Thu Nov 25 19:34:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2004/11/23 16:07:02 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.26 2004/11/25 19:34:03 jlam Exp $
DISTNAME= mysql-4.1.7
CATEGORIES= databases
@@ -72,8 +72,6 @@
CXXFLAGS+= -DHAVE_CURSES_H
.endif
-PTHREAD_AUTO_VARS= no
-
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
diff -r b239a785698f -r 61c59e0b6138 databases/openldap/Makefile
--- a/databases/openldap/Makefile Thu Nov 25 19:28:06 2004 +0000
+++ b/databases/openldap/Makefile Thu Nov 25 19:34:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2004/11/19 16:35:26 jlam Exp $
+# $NetBSD: Makefile,v 1.89 2004/11/25 19:34:03 jlam Exp $
DISTNAME= openldap-2.2.18
SVR4_PKGNAME= oldap
@@ -96,11 +96,6 @@
OPENLDAP_PTHREAD_OPTS?= require
PTHREAD_OPTS+= ${OPENLDAP_PTHREAD_OPTS}
-# We don't actually want everything to be built with pthreads -- only
-# libldap_r and slurpd.
-#
-PTHREAD_AUTO_VARS= no
-
.include "../../security/openssl/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff -r b239a785698f -r 61c59e0b6138 mail/cyrus-imapd22/Makefile
--- a/mail/cyrus-imapd22/Makefile Thu Nov 25 19:28:06 2004 +0000
+++ b/mail/cyrus-imapd22/Makefile Thu Nov 25 19:34:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/11/17 21:16:45 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2004/11/25 19:34:03 jlam Exp $
DISTNAME= cyrus-imapd-2.2.8
PKGREVISION= 4
@@ -129,7 +129,6 @@
# Only imap/mupdate needs to be build with pthreads support, so selectively
# enable it via patches for just that one program.
#
-PTHREAD_AUTO_VARS= no
.include "../../mk/pthread.buildlink3.mk"
# Change references of some manpages from foo.8 to cyrus-foo.8 to avoid
diff -r b239a785698f -r 61c59e0b6138 mk/pthread.buildlink3.mk
--- a/mk/pthread.buildlink3.mk Thu Nov 25 19:28:06 2004 +0000
+++ b/mk/pthread.buildlink3.mk Thu Nov 25 19:34:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink3.mk,v 1.17 2004/11/17 21:05:24 jlam Exp $
+# $NetBSD: pthread.buildlink3.mk,v 1.18 2004/11/25 19:34:03 jlam Exp $
#
# The pthreads strategy for pkgsrc is to "bless" a particular pthread
# package as the Official Pthread Replacement (OPR). A package that uses
@@ -144,7 +144,7 @@
. endif
.endif
-PTHREAD_AUTO_VARS?= yes
+PTHREAD_AUTO_VARS?= no
.if ${PTHREAD_TYPE} == "native"
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npthread}
Home |
Main Index |
Thread Index |
Old Index