Opened 9 years ago
Last modified 4 years ago
#50800 closed defect
fix for cairo build failures against Xcode 7.3 linker when /uer/local/lib is absent — at Initial Version
Reported by: | howarth.at.macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | ryandesign@… |
Port: | cairo, cairo-devel |
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.
Note: See
TracTickets for help on using
tickets.
Portfile diff to solve pthread detection against Xcode 7.3 new linker warnings