summaryrefslogtreecommitdiff
path: root/databases/postgresql93
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2013-12-02 22:36:44 +0000
committerbsiegert <bsiegert>2013-12-02 22:36:44 +0000
commitf1d27ed119786426de8710340258a19fcf9196c2 (patch)
treecdcf186602ddfa8615b71137a6ea3a75ac1546de /databases/postgresql93
parent6891bf6b76b24addf776b5091ec0bb363c8bf67b (diff)
downloadpkgsrc-f1d27ed119786426de8710340258a19fcf9196c2.tar.gz
Fix all the things belonging to postgresql93 on MirBSD.
Diffstat (limited to 'databases/postgresql93')
-rw-r--r--databases/postgresql93/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql93/Makefile.common b/databases/postgresql93/Makefile.common
index 0a0cedb3849..33cdc3f76b1 100644
--- a/databases/postgresql93/Makefile.common
+++ b/databases/postgresql93/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2013/10/12 07:03:32 adam Exp $
+# $NetBSD: Makefile.common,v 1.3 2013/12/02 22:36:44 bsiegert Exp $
#
# used by databases/postgresql93-adminpack/Makefile
# used by databases/postgresql93-client/Makefile
@@ -52,6 +52,7 @@ PKG_SYSCONFSUBDIR= postgresql
PG_TEMPLATE.SunOS= solaris
PG_TEMPLATE.IRIX= irix5
+PG_TEMPLATE.MirBSD= openbsd
.if !defined(PG_TEMPLATE.${OPSYS})
PG_TEMPLATE.${OPSYS}= ${LOWER_OPSYS}
.endif
@@ -81,6 +82,11 @@ CONFIGURE_ARGS+= --without-zlib
CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
.endif
+# configure fails on OpenBSD and MirBSD if thread safety is enabled.
+.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
+CONFIGURE_ARGS+= --disable-thread-safety
+.endif
+
# PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block.
# This also limits the size of a tuple. The valid values are powers
# of 2 up to 32768, and the default size is 8196. Please don't change