diff options
Diffstat (limited to 'databases/postgresql92')
-rw-r--r-- | databases/postgresql92/Makefile.common | 8 |
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 |