summaryrefslogtreecommitdiff
path: root/databases/postgresql80-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql80-client/Makefile')
-rw-r--r--databases/postgresql80-client/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/postgresql80-client/Makefile b/databases/postgresql80-client/Makefile
index 2f61c24aec2..19c156743cb 100644
--- a/databases/postgresql80-client/Makefile
+++ b/databases/postgresql80-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/01/08 20:30:42 adam Exp $
+# $NetBSD: Makefile,v 1.19 2007/11/29 23:41:35 rmind Exp $
PKGNAME= postgresql80-client-${BASE_VERS}
COMMENT= PostgreSQL database client programs
@@ -15,10 +15,11 @@ CONFLICTS+= postgresql80-lib-[0-9]*
CONFLICTS+= postgresql80-docs-[0-9]*
# 1. The thread-safety test in ${WRSRC}/src/tools/thread does not pass on
-# NetBSD (missing strerror_r) or DragonFly.
+# 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