Bug 262613 - textproc/libxml2: icu support
Summary: textproc/libxml2: icu support
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-17 08:13 UTC by Sean Champ
Modified: 2022-03-17 08:13 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (desktop)


Attachments
icu support for textproc/libxml2 (866 bytes, patch)
2022-03-17 08:13 UTC, Sean Champ
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Champ 2022-03-17 08:13:29 UTC
Created attachment 232510 [details]
icu support for textproc/libxml2

libxml2 can be can be configured to use icu. 

This support for icu may be used for some purposes of testing in www/qt5-webengine builds, under the qmake configure arg `-webengine-icu'. Albeit, this support might need some additional patching for it to be of use there.  Perhaps it could also be of some use in other codebases.

This patch will enable the '--with-icu' configure arg for libxml2, furthermore adding icu as a library dependency for libxml2 and adding a cflag for the icu includes. This patch also updates the libxml2 *.pc file to ensure that an include path for the how the icu includes files would usually be referenced will be added to cflags in builds for dependendent packages. This would normally add -I/usr/local/include to cflags.