[MacPorts] #24779: perl5.8 files contain -arch flags
MacPorts
noreply at macports.org
Tue May 11 09:47:01 PDT 2010
#24779: perl5.8 files contain -arch flags
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: ricci@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: perl5.8
-------------------------------------+--------------------------------------
Comment(by ricci@…):
Replying to [comment:2 ryandesign@…]:
> Could you refer me to the specific documentation you're talking about?
It should not be a problem to build a perl module for x86_64 only if perl
itself was built for x86_64 and i386. This works fine for a whole lot of
other software; I don't see why perl should be different.
>
> I'm not suggesting you remove ExtUtils::Embed; "perl -MExtUtils::Embed
-e whatever" should continue to return what it does now, but minus the
-arch flags which it should not return for the reasons explained in the
wiki page I linked to above. It's not particularly efficient to expect
every perl module to patch this when the correct place to patch it is at
the source -- perl itself. The only file in perl5.8 that I found that
contains -arch flags is Config_heavy.pl, so I'm just proposing we
[attachment:perl5.8-arch.diff remove the -arch flags] from that.
For documentation, see 'perldoc perlembed', in particular the section
under "Compiling your C program".
Have you tried building perl w/ the proposed change(s) and then building
something to use the embedded features, for example 'ImageMagick +perl' to
ensure it still works? This should be tested w/ perl5.10 and perl5.12 as
well.
What other modules and/or ports would require this change?
--
Ticket URL: <http://trac.macports.org/ticket/24779#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list