security/bitwarden-cli: fix build with ICU 76

Obtained from:	https://cgit.freebsd.org/ports/commit/?id=45b52cec21e67673c5990eded07125f873839e55
This commit is contained in:
Hiroki Tagato 2025-02-24 22:11:45 +09:00
parent e04f41e0ea
commit 63e10fe43b

View file

@ -0,0 +1,11 @@
--- configure.py.orig 2024-10-03 09:20:49 UTC
+++ configure.py
@@ -1829,7 +1829,7 @@ def configure_intl(o):
elif with_intl == 'system-icu':
# ICU from pkg-config.
o['variables']['v8_enable_i18n_support'] = 1
- pkgicu = pkg_config('icu-i18n')
+ pkgicu = pkg_config(['icu-i18n', 'icu-uc'])
if not pkgicu[0]:
error('''Could not load pkg-config data for "icu-i18n".
See above errors or the README.md.''')