[MacPorts] #50800: cairo, cairo-devel: fix for build failures against Xcode 7.3 linker when /usr/local/lib is absent (was: fix for cairo build failures against Xcode 7.3 linker when /uer/local/lib is absent)

MacPorts noreply at macports.org
Fri Mar 4 08:18:59 PST 2016


#50800: cairo, cairo-devel: fix for build failures against Xcode 7.3 linker when
/usr/local/lib is absent
------------------------------------+--------------------------
  Reporter:  howarth.at.macports@…  |      Owner:  ryandesign@…
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.4
Resolution:                         |   Keywords:  haspatch
      Port:  cairo, cairo-devel     |
------------------------------------+--------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (removed)
 * owner:  macports-tickets@… => ryandesign@…
 * keywords:   => haspatch
 * port:  cairo => cairo, cairo-devel


Old description:

> The Xcode 7.3 linker produces a new warning...
>
> ld: warning: directory not found for option '-L/usr/local/lib'
>
> when the /usr/local/lib directory is absent. The configure script in
> cairo uses its own pthread test, which doesn't cope with warnings, rather
> than the standard one from pthread.m4. The attached Portfile.diff adds a
> simple fix to prune the results from 'cat conftest.err' of lines with
> these warnings. Tested on 10.11 with Xcode 7.3 beta 5 and /usr/local/lib
> missing.

New description:

 The Xcode 7.3 linker produces a new warning...

 {{{
 ld: warning: directory not found for option '-L/usr/local/lib'
 }}}

 when the /usr/local/lib directory is absent. The configure script in cairo
 uses its own pthread test, which doesn't cope with warnings, rather than
 the standard one from pthread.m4. The attached Portfile.diff adds a simple
 fix to prune the results from 'cat conftest.err' of lines with these
 warnings. Tested on 10.11 with Xcode 7.3 beta 5 and /usr/local/lib
 missing.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/50800#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list