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

MacPorts noreply at macports.org
Thu Jan 31 20:29:04 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 raimue):

 This is not about building in MacPorts (therefore no `main.log` required),
 because with MacPorts `${prefix}/include` would always be in the include
 path and this bug will not occur. This is about using libxml2 to compile
 software outside of MacPorts. The CFLAGS provided by pkg-config are
 insufficient as the `libxml/*.h` headers will try to include `unicode/*.h`
 and therefore the path to these headers also needs to be added to the pkg-
 config file.

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


More information about the macports-tickets mailing list