pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Add lz4 to postgresql14 options (enabled by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39ef47ade9b1
branches:  trunk
changeset: 379176:39ef47ade9b1
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu May 12 13:03:57 2022 +0000

description:
Add lz4 to postgresql14 options (enabled by default)

Bump PKGREVISION on all including packages just to be on the safe side

diffstat:

 databases/postgresql14-client/Makefile   |   4 ++--
 databases/postgresql14-contrib/Makefile  |   4 ++--
 databases/postgresql14-docs/Makefile     |   4 ++--
 databases/postgresql14-plperl/Makefile   |   4 ++--
 databases/postgresql14-plpython/Makefile |   4 ++--
 databases/postgresql14-pltcl/Makefile    |   4 ++--
 databases/postgresql14-server/Makefile   |   4 ++--
 databases/postgresql14/Makefile          |   4 ++--
 databases/postgresql14/options.mk        |  13 ++++++++++---
 9 files changed, 26 insertions(+), 19 deletions(-)

diffs (133 lines):

diff -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14-client/Makefile
--- a/databases/postgresql14-client/Makefile    Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14-client/Makefile    Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14-contrib/Makefile
--- a/databases/postgresql14-contrib/Makefile   Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14-contrib/Makefile   Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14-docs/Makefile
--- a/databases/postgresql14-docs/Makefile      Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14-docs/Makefile      Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14-plperl/Makefile
--- a/databases/postgresql14-plperl/Makefile    Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14-plperl/Makefile    Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14-plpython/Makefile
--- a/databases/postgresql14-plpython/Makefile  Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14-plpython/Makefile  Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14-pltcl/Makefile
--- a/databases/postgresql14-pltcl/Makefile     Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14-pltcl/Makefile     Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14-server/Makefile
--- a/databases/postgresql14-server/Makefile    Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14-server/Makefile    Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14/Makefile
--- a/databases/postgresql14/Makefile   Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14/Makefile   Thu May 12 13:03:57 2022 +0000
@@ -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 -r e57e641bc323 -r 39ef47ade9b1 databases/postgresql14/options.mk
--- a/databases/postgresql14/options.mk Thu May 12 12:52:55 2022 +0000
+++ b/databases/postgresql14/options.mk Thu May 12 13:03:57 2022 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index