Bug 262613

Summary: textproc/libxml2: icu support
Product: Ports & Packages Reporter: Sean Champ <lab+bsd>
Component: Individual Port(s)Assignee: freebsd-desktop (Team) <desktop>
Status: New ---    
Severity: Affects Only Me CC: chris
Priority: --- Flags: bugzilla: maintainer-feedback? (desktop)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
icu support for textproc/libxml2 none

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.