[Bug 262940] textproc/libxml2 and textproc/py-libxml2: Revert back to GNU Autotools due to some curl dependencies?

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Apr 2022 13:56:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262940

Charlie Li <vishwin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #232821|0                           |1
        is obsolete|                            |

--- Comment #11 from Charlie Li <vishwin@freebsd.org> ---
Created attachment 232969
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232969&action=edit
v2

Remove --with-iconv; configure picks up the correct headers and libraries in
all USES=iconv cases. The corresponding .pc and xml2-config bits are also
obviated.

On a build system with iconv built into libc:

$ xml2-config --cflags
-I/usr/local/include/libxml2

$ cat /usr/local/libdata/pkgconfig/libxml-2.0.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
modules=1

Name: libXML
Version: 2.9.13
Description: libXML library version2.
Requires:
Libs: -L${libdir} -lxml2
Libs.private: -licui18n -L/usr/local/lib -licuuc -licudata   -lz  -L/usr/lib
-llzma  -lm  -L/usr/local/lib
Cflags: -I${includedir}/libxml2

Still investigating possible downstream pollution with ICU.

-- 
You are receiving this mail because:
You are the assignee for the bug.