[MacPorts] #54151: qjackctl @0.45+qt4: variant +qt4 fails to build on Sierra
MacPorts
noreply at macports.org
Fri May 12 08:11:07 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 detlevd):
OK, it is a problem in the guts of qmake and qt4-mac, but
https://trac.macports.org/changeset/73290 gives a good hint how to work
around it. I stripped that solution down to what is needed for the
qjackctl port. It works this way on my Sierra system and im confident it
won't hurt others. But please check on different configurations. I'll
attach the Portfile diff, it simply adds
{{{
post-configure { # work around strange qmake problem if not universal, see
https://trac.macports.org/ticket/54151#comment:6
if {![variant_isset universal]} {
system "cd ${worksrcpath} && PATH=${qt_bins_dir}:$env(PATH)
qmake -o qjackctl.mak qjackctl.pro"
system "cd ${worksrcpath}/src && PATH=${qt_bins_dir}:$env(PATH)
qmake -o qjackctl.mak src.pro"
reinplace "s at -arch *-Xarch_x86_64 at -Xarch_x86_64@"
${worksrcpath}/src/qjackctl.mak
}
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54151#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list