Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] package/postgresql: add ICU support
@ 2024-01-02  9:34 Maxim Kochetkov via buildroot
  2024-01-02  9:34 ` [Buildroot] [PATCH v2 2/2] package/postgresql: bump version to 16.1 Maxim Kochetkov via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maxim Kochetkov via buildroot @ 2024-01-02  9:34 UTC (permalink / raw)
  To: buildroot; +Cc: Maxim Kochetkov

PostgreSQL has optional ICU support. So enable it if library are available.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
 package/postgresql/postgresql.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index 3108fe65e1..89ba80557d 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -87,6 +87,13 @@ else
 POSTGRESQL_CONF_OPTS += --without-ldap
 endif
 
+ifeq ($(BR2_PACKAGE_ICU),y)
+POSTGRESQL_DEPENDENCIES += icu
+POSTGRESQL_CONF_OPTS += --with-icu
+else
+POSTGRESQL_CONF_OPTS += --without-icu
+endif
+
 ifeq ($(BR2_PACKAGE_LIBXML2),y)
 POSTGRESQL_DEPENDENCIES += libxml2
 POSTGRESQL_CONF_OPTS += --with-libxml
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-12 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-02  9:34 [Buildroot] [PATCH v2 1/2] package/postgresql: add ICU support Maxim Kochetkov via buildroot
2024-01-02  9:34 ` [Buildroot] [PATCH v2 2/2] package/postgresql: bump version to 16.1 Maxim Kochetkov via buildroot
2024-01-02 22:10 ` [Buildroot] [PATCH v2 1/2] package/postgresql: add ICU support Thomas Petazzoni via buildroot
2024-01-12 17:15 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox