I've updated libperl-5.8.6 to work with OS X. This has been tested on 10.3.7. I'm new to ebuilds, so I might not have done this completely correctly... but basically all I did was put an if statement in that only includes the soname patch (which doesn't work with OS X) if ppc-macos is in your use flags. With this ebuild perl-5.8.6-r1 will also build. Both of them need the ~ppc-macos or ppc-macos arch flags as well. Reproducible: Always Steps to Reproduce: !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51-r14 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh) ================================================================= System uname: 7.7.0 Power Macintosh powerpc macos-20041118 Python: [2.3 (#1, Sep 13 2003, 00:49:11)] distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-devel/autoconf: 2.13, 2.57, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.4 sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: [Not Present] ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CFLAGS="-O2 -fast -fPIC -mcpu=7450 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -fast -fPIC -mcpu=7450 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache collision-protect distlocks" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos perl ppc-macos" Unset: LDFLAGS, PORTDIR_OVERLAY
Created attachment 49040 [details] Modified libperl-5.8.6 ebuild
Oh... I almost forgot... You can't install the perl-5.8.6-r1 package with the collision-protect on. So far I've been in contact with a few perl nuts that use OS X and they have all updated there perl on OS X for one reason or another and said they haven't had any problems as a result. With Gentoo OSX I've quickly gotten to the point where I feel like some packages just have to be updated from the versions supplied with OS X (autoconf and automake, and perl being prime examples).
This depends on bug 67162. Will take a look at it when 67162 has gotten somewhere. Until then, this bug should remain frozen.