postgresql16: icu should be optional, for it is both heavy & unstable.

This commit is contained in:
nia 2024-03-16 23:42:39 +00:00
parent ae47bcc37a
commit 49647fa194
2 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.4 2024/02/09 08:33:15 adam Exp $
# $NetBSD: Makefile.common,v 1.5 2024/03/16 23:42:39 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@ -130,7 +130,6 @@ CONFIGURE_ARGS+= --with-uuid=ossp
BUILDLINK_TRANSFORM+= rm:-ffast-math
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"

View File

@ -1,8 +1,8 @@
# $NetBSD: options.mk,v 1.4 2023/11/30 10:35:44 jperkin Exp $
# $NetBSD: options.mk,v 1.5 2024/03/16 23:42:39 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql16
PKG_SUPPORTED_OPTIONS= bonjour dtrace llvm gssapi ldap nls pam lz4
PKG_SUGGESTED_OPTIONS= gssapi nls lz4
PKG_SUPPORTED_OPTIONS= bonjour dtrace icu llvm gssapi ldap nls pam lz4
PKG_SUGGESTED_OPTIONS= gssapi icu nls lz4
PLIST_VARS+= gssapi llvm nls
@ -72,3 +72,9 @@ CONFIGURE_ARGS+= --disable-nls
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --with-pam
.endif
.if !empty(PKG_OPTIONS:Micu)
. include "../../textproc/icu/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-icu
.endif