pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql83-client Configure PostgreSQL cli...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5b36c2b67729
branches: trunk
changeset: 540052:5b36c2b67729
user: rmind <rmind%pkgsrc.org@localhost>
date: Mon Mar 24 18:48:35 2008 +0000
description:
Configure PostgreSQL client with --enable-thread-safety on NetBSD 4.0 and
newer versions, as done in other versions of PostgreSQL packages. This gives
a performance improvement on client-side, especially on NetBSD -current.
diffstat:
databases/postgresql83-client/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 088c3c8875ee -r 5b36c2b67729 databases/postgresql83-client/Makefile
--- a/databases/postgresql83-client/Makefile Mon Mar 24 18:40:32 2008 +0000
+++ b/databases/postgresql83-client/Makefile Mon Mar 24 18:48:35 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 12:42:53 adam Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/24 18:48:35 rmind Exp $
PKGNAME= postgresql83-client-${BASE_VERS}
COMMENT= PostgreSQL database client programs
@@ -17,7 +17,8 @@
# NetBSD earler than 4.0 or DragonFly.
# 2. configure with --enable-thread-safety fails on OpenBSD.
#
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD"
+.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-3].*)) || \
+ ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD"
PGSQL_THREAD_SAFETY?= no
.endif
PGSQL_THREAD_SAFETY?= yes
Home |
Main Index |
Thread Index |
Old Index