summaryrefslogtreecommitdiff
path: root/databases/postgresql84
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/postgresql84
parent7ed646d212ef46a2f4c77009385767206a01844d (diff)
downloadpkgsrc-fa6a31697d07b9af1e3f474430864b0f2e2d33b8.tar.gz
Now all of the postgresql packages should compile on MirBSD.
Diffstat (limited to 'databases/postgresql84')
-rw-r--r--databases/postgresql84/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql84/Makefile.common b/databases/postgresql84/Makefile.common
index d5cfb003c45..c08109746ee 100644
--- a/databases/postgresql84/Makefile.common
+++ b/databases/postgresql84/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2013/10/12 20:39:42 adam Exp $
+# $NetBSD: Makefile.common,v 1.28 2013/12/02 23:08:54 bsiegert Exp $
#
# used by databases/postgresql84-adminpack/Makefile
# used by databases/postgresql84-client/Makefile
@@ -49,6 +49,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
@@ -66,6 +67,11 @@ CONFIGURE_ARGS+= --without-readline
CONFIGURE_ARGS+= --without-tcl
CONFIGURE_ARGS+= --without-zlib
+# 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