[MacPorts] #22557: MacPorts base should verify build_arch has a sensible value
MacPorts
noreply at macports.org
Sun Nov 15 15:43:24 PST 2009
#22557: MacPorts base should verify build_arch has a sensible value
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: base | Version: 1.8.1
Keywords: | Port:
-------------------------------------+--------------------------------------
build_arch is meant to contain a single architecture value only. If the
user sets build_arch to a nonsense value like "i386 x86_64" or "green",
ports quite understandably fail to compile. (See #22534 for an example.)
MacPorts base should prevent user confusion by verifying that build_arch
contains a valid value. Attempting to cross-compile using build_arch is
probably also a bad idea, so the valid values should probably be "i386" or
"x86_64" on Intel Macs and "ppc" or "ppc64" on PowerPC Macs. We could
consider allowing "ppc" on Intel Macs as well due to Rosetta.
--
Ticket URL: <http://trac.macports.org/ticket/22557>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list