summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2022-05-12 13:03:57 +0000
committerabs <abs@pkgsrc.org>2022-05-12 13:03:57 +0000
commit4b645ee633c3f6dc4a61852a7a604304de6926b9 (patch)
treeb1f46e5e97aececf56742828e1bfabbbaa851a07 /databases
parentf65139dd015844c648a18e971ce55ed795f825b9 (diff)
downloadpkgsrc-4b645ee633c3f6dc4a61852a7a604304de6926b9.tar.gz
Add lz4 to postgresql14 options (enabled by default)
Bump PKGREVISION on all including packages just to be on the safe side
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql14-client/Makefile4
-rw-r--r--databases/postgresql14-contrib/Makefile4
-rw-r--r--databases/postgresql14-docs/Makefile4
-rw-r--r--databases/postgresql14-plperl/Makefile4
-rw-r--r--databases/postgresql14-plpython/Makefile4
-rw-r--r--databases/postgresql14-pltcl/Makefile4
-rw-r--r--databases/postgresql14-server/Makefile4
-rw-r--r--databases/postgresql14/Makefile4
-rw-r--r--databases/postgresql14/options.mk13
9 files changed, 26 insertions, 19 deletions
diff --git a/databases/postgresql14-client/Makefile b/databases/postgresql14-client/Makefile
index a7ee6e3e6ff..2ea79f30f0d 100644
--- a/databases/postgresql14-client/Makefile
+++ b/databases/postgresql14-client/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/05/05 08:22:38 nia Exp $
+# $NetBSD: Makefile,v 1.6 2022/05/12 13:03:57 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-client-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql14/Makefile.common"
diff --git a/databases/postgresql14-contrib/Makefile b/databases/postgresql14-contrib/Makefile
index e2adcb35fb0..b894805db26 100644
--- a/databases/postgresql14-contrib/Makefile
+++ b/databases/postgresql14-contrib/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/04/18 19:10:43 adam Exp $
+# $NetBSD: Makefile,v 1.5 2022/05/12 13:03:57 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-contrib-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= Contrib subtree of tools and plug-ins
.include "../../databases/postgresql14/Makefile.common"
diff --git a/databases/postgresql14-docs/Makefile b/databases/postgresql14-docs/Makefile
index 8e21ecb7e4e..c7ed038e792 100644
--- a/databases/postgresql14-docs/Makefile
+++ b/databases/postgresql14-docs/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/04/18 19:10:43 adam Exp $
+# $NetBSD: Makefile,v 1.5 2022/05/12 13:03:57 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-docs-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= PostgreSQL database documentation
.include "../../databases/postgresql14/Makefile.common"
diff --git a/databases/postgresql14-plperl/Makefile b/databases/postgresql14-plperl/Makefile
index d198c5cef2e..c1bd50b77c6 100644
--- a/databases/postgresql14-plperl/Makefile
+++ b/databases/postgresql14-plperl/Makefile
@@ -1,7 +1,7 @@
-#$ $NetBSD: Makefile,v 1.4 2022/04/18 19:10:43 adam Exp $
+#$ $NetBSD: Makefile,v 1.5 2022/05/12 13:03:57 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-plperl-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= PL/Perl procedural language for the PostgreSQL backend
DEPENDS+= postgresql14-server>=${PKGVERSION_NOREV}:../../databases/postgresql14-server
diff --git a/databases/postgresql14-plpython/Makefile b/databases/postgresql14-plpython/Makefile
index dd39e01a91b..75f52218e6b 100644
--- a/databases/postgresql14-plpython/Makefile
+++ b/databases/postgresql14-plpython/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/04/18 19:10:43 adam Exp $
+# $NetBSD: Makefile,v 1.5 2022/05/12 13:03:57 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-plpython-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql14-server>=${PKGVERSION_NOREV}:../../databases/postgresql14-server
diff --git a/databases/postgresql14-pltcl/Makefile b/databases/postgresql14-pltcl/Makefile
index 7517bb97bfd..8deb17566cc 100644
--- a/databases/postgresql14-pltcl/Makefile
+++ b/databases/postgresql14-pltcl/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/04/18 19:10:43 adam Exp $
+# $NetBSD: Makefile,v 1.5 2022/05/12 13:03:57 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-pltcl-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
DEPENDS+= postgresql14-server>=${PKGVERSION_NOREV}:../../databases/postgresql14-server
diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile
index 7e6e58f5832..bca82a52e0b 100644
--- a/databases/postgresql14-server/Makefile
+++ b/databases/postgresql14-server/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/04/18 19:10:43 adam Exp $
+# $NetBSD: Makefile,v 1.5 2022/05/12 13:03:58 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-server-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= PostgreSQL database server programs
# mips has no TAS implementation
diff --git a/databases/postgresql14/Makefile b/databases/postgresql14/Makefile
index 0cc3bcfd803..31ea3bf790e 100644
--- a/databases/postgresql14/Makefile
+++ b/databases/postgresql14/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/04/18 19:10:42 adam Exp $
+# $NetBSD: Makefile,v 1.7 2022/05/12 13:03:57 abs Exp $
PKGNAME= ${DISTNAME:S/-/14-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= Robust, next generation, object-relational DBMS
DEPENDS+= postgresql14-client>=${PKGVERSION_NOREV}:../../databases/postgresql14-client
diff --git a/databases/postgresql14/options.mk b/databases/postgresql14/options.mk
index 85c5f90d46e..4cf8eceac6a 100644
--- a/databases/postgresql14/options.mk
+++ b/databases/postgresql14/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2021/10/08 10:23:43 adam Exp $
+# $NetBSD: options.mk,v 1.2 2022/05/12 13:03:57 abs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql14
-PKG_SUPPORTED_OPTIONS= bonjour dtrace icu llvm gssapi ldap nls pam
-PKG_SUGGESTED_OPTIONS= gssapi nls
+PKG_SUPPORTED_OPTIONS= bonjour dtrace icu llvm gssapi ldap nls pam lz4
+PKG_SUGGESTED_OPTIONS= gssapi nls lz4
PLIST_VARS+= gssapi llvm nls
@@ -52,6 +52,13 @@ CONFIGURE_ENV+= CLANG=${CC} # XXX: make it be better
PLIST.llvm= yes
.endif
+# lz4 support
+.if !empty(PKG_OPTIONS:Mlz4)
+. include "../../archivers/lz4/buildlink3.mk"
+USE_TOOLS+= pkg-config
+CONFIGURE_ARGS+= --with-lz4
+.endif
+
# NLS support
.if !empty(PKG_OPTIONS:Mnls)
USE_PKGLOCALEDIR= yes