summaryrefslogtreecommitdiff
path: root/databases/postgresql91/Makefile.common
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2013-12-02 23:08:54 +0000
committerbsiegert <bsiegert@pkgsrc.org>2013-12-02 23:08:54 +0000
commitfa6a31697d07b9af1e3f474430864b0f2e2d33b8 (patch)
tree4f05d986673d9a8f208e87261ecd76ffda66e47b /databases/postgresql91/Makefile.common
parent7ed646d212ef46a2f4c77009385767206a01844d (diff)
downloadpkgsrc-fa6a31697d07b9af1e3f474430864b0f2e2d33b8.tar.gz
Now all of the postgresql packages should compile on MirBSD.
Diffstat (limited to 'databases/postgresql91/Makefile.common')
-rw-r--r--databases/postgresql91/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql91/Makefile.common b/databases/postgresql91/Makefile.common
index 841fb082c23..926aac1d112 100644
--- a/databases/postgresql91/Makefile.common
+++ b/databases/postgresql91/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2013/10/12 20:39:43 adam Exp $
+# $NetBSD: Makefile.common,v 1.16 2013/12/02 23:08:55 bsiegert Exp $
#
# used by databases/postgresql91-adminpack/Makefile
# used by databases/postgresql91-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