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

MacPorts noreply at macports.org
Fri Feb 1 21:19:40 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 kencu):

 Replying to [comment:3 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.

 Ah, you're right, I didn't notice that.

 Seems this exact same issue could easily afflict dozens or hundreds of
 MacPorts' ports? Any port that calls another ports' headers would be
 similarly affected by this.

 Is it so rare that one-off fixes are the way to go?

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


More information about the macports-tickets mailing list