diff options
author | rmind <rmind@pkgsrc.org> | 2008-03-24 18:48:35 +0000 |
---|---|---|
committer | rmind <rmind@pkgsrc.org> | 2008-03-24 18:48:35 +0000 |
commit | f9ed7f723a8645d14f7569d69f7402d92a59966d (patch) | |
tree | 4eeb29e649a1bcde8017a10da8d2ba19f32e6efc /databases | |
parent | 4c71688266210f471c7b8bfa2dbb4aabf67ec124 (diff) | |
download | pkgsrc-f9ed7f723a8645d14f7569d69f7402d92a59966d.tar.gz |
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 (limited to 'databases')
-rw-r--r-- | databases/postgresql83-client/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/postgresql83-client/Makefile b/databases/postgresql83-client/Makefile index de5ae9d4fb3..27921b9090d 100644 --- a/databases/postgresql83-client/Makefile +++ b/databases/postgresql83-client/Makefile @@ -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 @@ CONFIGURE_ARGS+= --with-zlib # 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 |