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

MacPorts noreply at macports.org
Wed Jul 31 18:56:11 UTC 2019


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

Comment (by kiwiroy):

 Please see report at https://github.com/Perl5-Alien/Alien-
 Libxml2/issues/13

 Alien::Libxml2 detects system libxml2 (macports provided here), but the
 tests fail for the reason Ray mentions.

 As a fix locally I’ve modified the last line of libxml-2.0.pc to read.
 {{{
 Cflags: -I${includedir}/libxml2 -I${includedir}
 }}}

 I assume ports that depend port:libxml2 aren’t affected as they have
 includedir (/opt/local/include) in CFLAGS anyway.

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


More information about the macports-tickets mailing list