summaryrefslogtreecommitdiff
path: root/databases
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
parent6891bf6b76b24addf776b5091ec0bb363c8bf67b (diff)
downloadpkgsrc-f1d27ed119786426de8710340258a19fcf9196c2.tar.gz
Fix all the things belonging to postgresql93 on MirBSD.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql93-client/Makefile6
-rw-r--r--databases/postgresql93/Makefile.common8
2 files changed, 8 insertions, 6 deletions
diff --git a/databases/postgresql93-client/Makefile b/databases/postgresql93-client/Makefile
index 293fa754e39..d60830b4fa8 100644
--- a/databases/postgresql93-client/Makefile
+++ b/databases/postgresql93-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2013/12/01 23:51:02 bsiegert Exp $
+# $NetBSD: Makefile,v 1.4 2013/12/02 22:36:44 bsiegert Exp $
PKGNAME= ${DISTNAME:C/-/93-client-/}
COMMENT= PostgreSQL database client programs
@@ -35,10 +35,6 @@ CONFIGURE_ARGS+= --enable-thread-safety
CONFIGURE_ARGS+= --disable-thread-safety
.endif
-.if ${OPSYS} == "MirBSD"
-CONFIGURE_ARGS+= --with-template=openbsd
-.endif
-
INSTALL_DIRS= src/include
INSTALL_DIRS+= src/common
INSTALL_DIRS+= src/interfaces
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