[MacPorts] #42361: libjpeg-turbo +universal: build failure
MacPorts
noreply at macports.org
Thu Mar 6 07:47:48 PST 2014
#42361: libjpeg-turbo +universal: build failure
------------------------------------+-----------------------------
Reporter: nneonneo@… | Owner: rmstonecipher@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: libjpeg-turbo mozjpeg |
------------------------------------+-----------------------------
Comment (by raimue@…):
I think the problem is the `--host` argument to configure, we can't use
`${build_arch}` there to pass different build flags as the Portfile is
only parsed once but needs to be different per architecture. I don't know
muniversal very well, but I think this would be the fix:
{{{
--- Portfile (revision 117637)
+++ Portfile (working copy)
@@ -35,6 +35,8 @@
configure.args-append --host x86_64-apple-darwin
}
}
+lappend merger_configure_args(i386) --host i686-apple-darwin
+lappend merger_configure_args(x86_64) --host x86_64-apple-darwin
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/42361#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list