From 6e6c7af84643eaa210df9e89ed4cc3b8bdd7a76b Mon Sep 17 00:00:00 2001 From: bsiegert Date: Mon, 2 Dec 2013 23:08:54 +0000 Subject: Now all of the postgresql packages should compile on MirBSD. --- databases/postgresql91/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'databases/postgresql91') 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 -- cgit v1.2.3