[MacPorts] #54151: qjackctl @0.45+qt4: variant +qt4 fails to build on Sierra

MacPorts noreply at macports.org
Sun May 14 01:08:32 UTC 2017


#54151: qjackctl @0.45+qt4: variant +qt4 fails to build on Sierra
-----------------------+-------------------
  Reporter:  detlevd   |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.1
Resolution:            |   Keywords:
      Port:  qjackctl  |
-----------------------+-------------------

Comment (by michaelld):

 After some ado, I've come up with a patch to qt4-mac that works for me on
 10.12 latest. It's generic C++, hopefully.

 The fix is a little complicated, but it generally checks the QMake LFLAGS
 as they are being processed to make sure when "-arch ARCH" is provided
 (normally 2 independent arguments), they are processed together including
 checking for duplicates (of both). Currently, they are processed
 separately, and when a string starting with "-" is found it is processed &
 generally appended to the internal list, while those not starting with "-"
 are looked for duplicates of & only appended if no duplicate found. That's
 why the duplicate "-arch ARCH -arch ARCH" would result in the last ARCH
 being dropped.

 I've attached the whole qt4-mac directory with updates to this ticket
 since it's just easier that way. For those of you who know how to do so,
 please give it a try & see if it works for qjackctl as it currently stands
 (without patching the Portfile per the above patch files).

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


More information about the macports-tickets mailing list