[MacPorts] #45137: pure-gen @0.16: update to 0.18
MacPorts
noreply at macports.org
Tue Sep 23 13:44:54 PDT 2014
#45137: pure-gen @0.16: update to 0.18
-----------------------+--------------------------------
Reporter: aggraef@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: | Port: pure-gen
-----------------------+--------------------------------
I have attached the suggested changes to the Portfile. Please note that
the patch patch-pure-gen.pure.diff shouldn't be needed anymore, since the
Makefile now properly detects the installed gcc on OS X and edits pure-
gen.pure accordingly.
The added `PUREC_FLAGS=-mcpu=generic` in the build flags makes sure that
the created pure-gen binary uses a generic instruction set which should
work on any x86/x86_64 machine. I don't know whether this is actually
needed on the Mac, but I do it this way on all the other Windows and Linux
systems I build binary packages for, and in any case it shouldn't do any
harm.
However, note that the `-mcpu=generic` needs Pure 0.62, so it shouldn't be
used for platforms where this isn't available. If it causes too much
trouble, simply leave out that option in the build flags.
I've tested this on my MB Pro running 10.9.5. The Portfile works fine
there and the installed pure-gen can regenerate the entire pure-gl wrapper
without a hitch. So it should be all right.
--
Ticket URL: <https://trac.macports.org/ticket/45137>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list