[MacPorts] #57990: libxml2 @2.9.7_2: ICU include directory not in pkg-config output

MacPorts noreply at macports.org
Fri Feb 1 21:30:23 UTC 2019


#57990: libxml2 @2.9.7_2: ICU include directory not in pkg-config output
-----------------------+--------------------
  Reporter:  dsedivec  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  libxml2   |
-----------------------+--------------------

Comment (by dsedivec):

 Sorry to potentially move the goalposts, but I've now noticed a similar
 problem with libs and thought maybe I should bring it up here:

 {{{
 $ pkg-config --libs libxml-2.0
 -L/opt/local/lib -lxml2

 $ xml2-config --libs
 -L/opt/local/lib -lxml2 -L/opt/local/lib -lz -L/opt/local/lib -llzma
 -lpthread -liconv -L/opt/local/lib -licui18n -licuuc -licudata -lm
 }}}

 Note that xml2-config knows about the ICU libraries, but pkg-config
 doesn't.  (`--cflags` is same for both pkg-config and xml2-config.)

 This is making me wonder if I'm even supposed to be using pkg-config with
 libxml2?

-- 
Ticket URL: <https://trac.macports.org/ticket/57990#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list