[MacPorts] #56241: jack @ 1.9.12_0 fails to upgrade due to using installed headers

MacPorts noreply at macports.org
Fri Apr 6 19:30:07 UTC 2018


#56241: jack @ 1.9.12_0 fails to upgrade due to using installed headers
---------------------+------------------------
  Reporter:  ci42    |      Owner:  neverpanic
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  jack    |
---------------------+------------------------

Comment (by ctreleaven):

 I think pkg-config is causing this problem.  When it checks for either
 libsamplerate or libsndfile, it returns an include path that we don't
 want:

 {{{
 $ pkg-config --cflags-only-I samplerate
 -I/opt/local/include
 }}}

 Based on help from the pkg-config mailing list, setting an environment
 variable can fix this, ala:

 {{{
 $ PKG_CONFIG_SYSTEM_INCLUDE_PATH=/opt/local/include pkg-config --cflags-
 only-I samplerate

 }}}

 I have the same issue with my mythtv ports and use:

 {{{
 # make pkg-config act like on Linux, no '-I/opt/local/include' in cflags
 configure.env-append    PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include
 }}}

 I haven't actually tested building jack with this change, however. HTH.

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


More information about the macports-tickets mailing list