summaryrefslogtreecommitdiff
path: root/databases/postgresql92
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/postgresql92
parent7ed646d212ef46a2f4c77009385767206a01844d (diff)
downloadpkgsrc-fa6a31697d07b9af1e3f474430864b0f2e2d33b8.tar.gz
Now all of the postgresql packages should compile on MirBSD.
Diffstat (limited to 'databases/postgresql92')
-rw-r--r--databases/postgresql92/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql92/Makefile.common b/databases/postgresql92/Makefile.common
index 9a62e802ecc..ec21195af59 100644
--- a/databases/postgresql92/Makefile.common
+++ b/databases/postgresql92/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2013/10/12 07:04:22 adam Exp $
+# $NetBSD: Makefile.common,v 1.7 2013/12/02 23:08:55 bsiegert Exp $
#
# used by databases/postgresql92-adminpack/Makefile
# used by databases/postgresql92-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