[MacPorts] #42432: phantomjs-1.9.7 - two build breaks + two ugly fixes

MacPorts noreply at macports.org
Mon Feb 10 07:34:50 PST 2014


#42432: phantomjs-1.9.7 - two build breaks + two ugly fixes
---------------------+--------------------------------
 Reporter:  david@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.2.1
 Keywords:           |       Port:  phantomjs
---------------------+--------------------------------
 Unsure how to best fix these. Leaving real fix to Port owner.

 The following just shows one way to fix all the build breaks.

 :::: Break #1: attempted use of local (missing) qmake instead of macports
 qmake

 {{{
 cd
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/phantomjs/work/phantomjs-1.9.7/src/qt/bin
 ln -s /opt/local/bin/qmake
 }}}

 :::: Break #2: unrecognized -fconstant-cfstrings

 g++: error: unrecognized command line option -fconstant-cfstrings

 Locating all occurrences of -fconstant-cfstrings + removing them from all
 build scripts seems to work.

 Both these fixes are very ugly. There must be a better way.

-- 
Ticket URL: <https://trac.macports.org/ticket/42432>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list