diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2013-12-02 23:08:54 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2013-12-02 23:08:54 +0000 |
commit | fa6a31697d07b9af1e3f474430864b0f2e2d33b8 (patch) | |
tree | 4f05d986673d9a8f208e87261ecd76ffda66e47b | |
parent | 7ed646d212ef46a2f4c77009385767206a01844d (diff) | |
download | pkgsrc-fa6a31697d07b9af1e3f474430864b0f2e2d33b8.tar.gz |
Now all of the postgresql packages should compile on MirBSD.
-rw-r--r-- | databases/postgresql84-client/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql84/Makefile.common | 8 | ||||
-rw-r--r-- | databases/postgresql90-client/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql90/Makefile.common | 8 | ||||
-rw-r--r-- | databases/postgresql91-client/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql91/Makefile.common | 8 | ||||
-rw-r--r-- | databases/postgresql92-client/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql92/Makefile.common | 8 |
8 files changed, 36 insertions, 12 deletions
diff --git a/databases/postgresql84-client/Makefile b/databases/postgresql84-client/Makefile index 4cb4652f445..f860826ba69 100644 --- a/databases/postgresql84-client/Makefile +++ b/databases/postgresql84-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2013/10/12 20:39:42 adam Exp $ +# $NetBSD: Makefile,v 1.26 2013/12/02 23:08:54 bsiegert Exp $ PKGNAME= ${DISTNAME:C/-/84-client-/} COMMENT= PostgreSQL database client programs @@ -14,7 +14,7 @@ CONFIGURE_ARGS+= --with-zlib # NetBSD earler than 4.0 or DragonFly. # 2. configure with --enable-thread-safety fails on OpenBSD. .if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-3].*)) || \ - ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" + ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD" PGSQL_THREAD_SAFETY?= no .endif PGSQL_THREAD_SAFETY?= yes 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 diff --git a/databases/postgresql90-client/Makefile b/databases/postgresql90-client/Makefile index 5227f04be17..124d70d3449 100644 --- a/databases/postgresql90-client/Makefile +++ b/databases/postgresql90-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2013/07/15 02:02:19 ryoon Exp $ +# $NetBSD: Makefile,v 1.19 2013/12/02 23:08:55 bsiegert Exp $ PKGNAME= ${DISTNAME:C/-/90-client-/} COMMENT= PostgreSQL database client programs @@ -14,7 +14,7 @@ CONFIGURE_ARGS+= --with-zlib # NetBSD earler than 4.0 or DragonFly. # 2. configure with --enable-thread-safety fails on OpenBSD. .if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-3].*)) || \ - ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" + ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD" PGSQL_THREAD_SAFETY?= no .endif PGSQL_THREAD_SAFETY?= yes diff --git a/databases/postgresql90/Makefile.common b/databases/postgresql90/Makefile.common index 412918b52e2..b9dbf182385 100644 --- a/databases/postgresql90/Makefile.common +++ b/databases/postgresql90/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.25 2013/10/12 20:39:42 adam Exp $ +# $NetBSD: Makefile.common,v 1.26 2013/12/02 23:08:54 bsiegert Exp $ # # used by databases/postgresql90-adminpack/Makefile # used by databases/postgresql90-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 @@ -75,6 +76,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 diff --git a/databases/postgresql91-client/Makefile b/databases/postgresql91-client/Makefile index a642981fce2..fc2e4ecbb6b 100644 --- a/databases/postgresql91-client/Makefile +++ b/databases/postgresql91-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2013/07/15 02:02:20 ryoon Exp $ +# $NetBSD: Makefile,v 1.15 2013/12/02 23:08:55 bsiegert Exp $ PKGNAME= ${DISTNAME:C/-/91-client-/} COMMENT= PostgreSQL database client programs @@ -14,7 +14,7 @@ CONFIGURE_ARGS+= --with-zlib # NetBSD earler than 4.0 or DragonFly. # 2. configure with --enable-thread-safety fails on OpenBSD. .if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-3].*)) || \ - ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" + ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD" PGSQL_THREAD_SAFETY?= no .endif PGSQL_THREAD_SAFETY?= yes 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 diff --git a/databases/postgresql92-client/Makefile b/databases/postgresql92-client/Makefile index f0c2a21917f..20fa04c0632 100644 --- a/databases/postgresql92-client/Makefile +++ b/databases/postgresql92-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2013/02/09 11:19:17 adam Exp $ +# $NetBSD: Makefile,v 1.5 2013/12/02 23:08:55 bsiegert Exp $ PKGNAME= ${DISTNAME:C/-/92-client-/} COMMENT= PostgreSQL database client programs @@ -14,7 +14,7 @@ CONFIGURE_ARGS+= --with-zlib # NetBSD earler than 4.0 or DragonFly. # 2. configure with --enable-thread-safety fails on OpenBSD. .if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-3].*)) || \ - ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" + ${OPSYS} == "DragonFly" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD" PGSQL_THREAD_SAFETY?= no .endif PGSQL_THREAD_SAFETY?= yes 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 |