summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-03-11 21:55:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-03-11 21:55:45 +0000
commit0e6d0fa6585bed553de7bcbe6aa2cd0fb8da0d9e (patch)
treebb09f65c7bbdb7a3443497f34aafc50f6a877fd9 /dev-lang
parentAdd amd-fbsd arch profile (diff)
downloadgentoo-2-0e6d0fa6585bed553de7bcbe6aa2cd0fb8da0d9e.tar.gz
gentoo-2-0e6d0fa6585bed553de7bcbe6aa2cd0fb8da0d9e.tar.bz2
gentoo-2-0e6d0fa6585bed553de7bcbe6aa2cd0fb8da0d9e.zip
Backport to stable, too.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/perl/ChangeLog6
-rw-r--r--dev-lang/perl/perl-5.8.8-r5.ebuild11
2 files changed, 10 insertions, 7 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index 7056cb3b9acc..13ce6b024609 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/perl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.276 2009/03/11 21:47:17 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.277 2009/03/11 21:55:45 flameeyes Exp $
+
+ 11 Mar 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ perl-5.8.8-r5.ebuild:
+ Backport to stable, too.
11 Mar 2009; Diego E. Pettenò <flameeyes@gentoo.org>
perl-5.8.8-r6.ebuild:
diff --git a/dev-lang/perl/perl-5.8.8-r5.ebuild b/dev-lang/perl/perl-5.8.8-r5.ebuild
index 8ce5c0ac32de..b58e815e53f6 100644
--- a/dev-lang/perl/perl-5.8.8-r5.ebuild
+++ b/dev-lang/perl/perl-5.8.8-r5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r5.ebuild,v 1.10 2008/11/04 03:32:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r5.ebuild,v 1.11 2009/03/11 21:55:45 flameeyes Exp $
inherit eutils flag-o-matic toolchain-funcs multilib
@@ -123,8 +123,7 @@ src_unpack() {
# filter it otherwise configure fails. See #125535.
epatch "${FILESDIR}"/perl-hppa-pa7200-configure.patch
- #[[ ${get_libdir} == lib64 ]] && cd ${S} && epatch ${FILESDIR}/${P}-lib64.patch
- use amd64 || use ppc64 && cd "${S}" && epatch "${FILESDIR}"/${P}-lib64.patch
+ [[ $(get_libdir) == lib64 ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-lib64.patch
[[ ${CHOST} == *-dragonfly* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-dragonfly-clean.patch
[[ ${CHOST} == *-freebsd* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-fbsdhints.patch
@@ -342,7 +341,7 @@ EOF
# This is to fix a missing c flag for backwards compat
for i in `find "${D}"/usr/$(get_libdir)/perl5 -iname "Config.pm"`;do
sed -e "s:ccflags=':ccflags='-DPERL5 :" \
- -e "s:cppflags=':cppflags='-DPERL5 :" \
+ -e "s:cppflags=':cppflags='-DPERL5 :" \
${i} > ${i}.new &&\
mv ${i}.new ${i} || die "Sed failed"
done
@@ -607,7 +606,7 @@ pkg_postinst() {
# Silently remove the now empty dirs
for DIR in $INC; do
if [[ -d "${ROOT}"/$DIR ]]; then
- find "${ROOT}"/$DIR -depth -type d | xargs -r rmdir &> /dev/null
+ find "${ROOT}"/$DIR -depth -type d | xargs -r rmdir &> /dev/null
fi
done
ebegin "Generating ConfigLocal.pm (ignore any error)"