Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78822 - Updated to libperl-5.8.6 ebuild
Summary: Updated to libperl-5.8.6 ebuild
Status: RESOLVED LATER
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on: 57677
Blocks:
  Show dependency tree
 
Reported: 2005-01-20 08:38 UTC by John Shaw
Modified: 2006-04-12 10:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified libperl-5.8.6 ebuild (libperl-5.8.6.ebuild,9.79 KB, text/plain)
2005-01-20 08:40 UTC, John Shaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Shaw 2005-01-20 08:38:13 UTC
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
Comment 1 John Shaw 2005-01-20 08:40:09 UTC
Created attachment 49040 [details]
Modified libperl-5.8.6 ebuild
Comment 2 John Shaw 2005-01-20 08:49:17 UTC
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).
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2005-01-23 12:58:24 UTC
This depends on bug 67162. Will take a look at it when 67162 has gotten somewhere. Until then, this 
bug should remain frozen.