Opened 11 years ago

Last modified 11 years ago

#42432 new defect

phantomjs-1.9.7 - two build breaks + two ugly fixes

Reported by: davidfavor (David Favor) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: phantomjs

Description

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.

Attachments (1)

phantomjs.log (15.7 KB) - added by davidfavor (David Favor) 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by davidfavor (David Favor)

Attachment: phantomjs.log added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: stromnov@… removed
Owner: changed from macports-tickets@… to stromnov@…
Note: See TracTickets for help on using tickets.