diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2013-12-02 22:36:44 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2013-12-02 22:36:44 +0000 |
commit | 9243a3c58c32318fb933b03bb95a732f00c408bc (patch) | |
tree | cdcf186602ddfa8615b71137a6ea3a75ac1546de /databases | |
parent | acfcaf933fc60e5811dbf726d47162da4f65faee (diff) | |
download | pkgsrc-9243a3c58c32318fb933b03bb95a732f00c408bc.tar.gz |
Fix all the things belonging to postgresql93 on MirBSD.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql93-client/Makefile | 6 | ||||
-rw-r--r-- | databases/postgresql93/Makefile.common | 8 |
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 |