[MacPorts] #17090: apr: duplicate case value when compiling universal i386/x86_64 or ppc/ppc64
MacPorts
noreply at macports.org
Thu Jan 29 21:21:57 PST 2009
#17090: apr: duplicate case value when compiling universal i386/x86_64 or ppc/ppc64
---------------------------------+------------------------------------------
Reporter: pguyot@… | Owner: dluke@…
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: apr
---------------------------------+------------------------------------------
Comment(by mta@…):
I just attached (twice, due to a browser hiccup) a patch to use the
muniversal port group to build 32/64 universal versions of apr and apr-
util. I don't think it is possible to build ppc/intel universal versions
on one machine since the configure script needs to run programs in the
target architecture.
In order to make this work I had to make one small change to muniversal.
It adds a merger_build_env array similar to the merger_configure_env
array. The patch to muniversal also fixes a minor typo in a debug
message.
I added code to the apr portfile that knows how to merge make files and
shell scripts. This could be generalized and moved into muniversal.
Perhaps the current merger_dont_diff array could be generalized to a
merger_diff_how array with one value being "dont" and others being things
like "header file", "make file", "shell script", or whatever.
The two copies of the attachment are identical. I would delete one of
them, but I can't see a way to do it.
--
Ticket URL: <http://trac.macports.org/ticket/17090#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list