Add lz4 to postgresql14 options (enabled by default)

Bump PKGREVISION on all including packages just to be on the safe side
This commit is contained in:
abs 2022-05-12 13:03:57 +00:00
parent bea47543bb
commit a722e31f64
9 changed files with 26 additions and 19 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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