diff options
author | Michael Cummings <mcummings@gentoo.org> | 2006-01-22 22:28:48 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2006-01-22 22:28:48 +0000 |
commit | c260010a0bb9735a9e214a0114a5d3cf15d0474c (patch) | |
tree | ac2eafcf2f89b895bd85a82d147f03fa7d1d5fd0 /sys-devel/libperl | |
parent | Added new version 3.40 (diff) | |
download | historical-c260010a0bb9735a9e214a0114a5d3cf15d0474c.tar.gz historical-c260010a0bb9735a9e214a0114a5d3cf15d0474c.tar.bz2 historical-c260010a0bb9735a9e214a0114a5d3cf15d0474c.zip |
Bring libperl-5.8.8 back up to speed with perl ebuild
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'sys-devel/libperl')
-rw-r--r-- | sys-devel/libperl/ChangeLog | 6 | ||||
-rw-r--r-- | sys-devel/libperl/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/libperl/libperl-5.8.8_rc1.ebuild | 46 |
3 files changed, 39 insertions, 23 deletions
diff --git a/sys-devel/libperl/ChangeLog b/sys-devel/libperl/ChangeLog index 51167fddfbac..4f28fcf17db8 100644 --- a/sys-devel/libperl/ChangeLog +++ b/sys-devel/libperl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/libperl # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v 1.95 2006/01/22 17:02:41 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v 1.96 2006/01/22 22:28:48 mcummings Exp $ + + 22 Jan 2006; Michael Cummings <mcummings@gentoo.org> + libperl-5.8.8_rc1.ebuild: + Bring libperl-5.8.8 back up to speed with perl ebuild *libperl-5.8.8_rc1 (22 Jan 2006) diff --git a/sys-devel/libperl/Manifest b/sys-devel/libperl/Manifest index 8d06b086fb70..771d99fd160b 100644 --- a/sys-devel/libperl/Manifest +++ b/sys-devel/libperl/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 83bc88ac6a9ab2fa5611b7af4d7c5edf ChangeLog 14053 +MD5 4323e8acb0316f56cff43622e3366f1b ChangeLog 14193 MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-libperl-5.8.6 64 MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-libperl-5.8.6-r1 64 MD5 c10e44e47d7f702efe7d4009064a97ca files/digest-libperl-5.8.7 64 @@ -14,12 +14,12 @@ MD5 ce442db939c59218a16be167f793b817 files/libperl-uclibc.patch 573 MD5 820e89622ea2fd58728c9c34fe72a5ff libperl-5.8.6-r1.ebuild 10584 MD5 659c5dad609e390b9210cc05a4909003 libperl-5.8.6.ebuild 10588 MD5 4bc541a781cafd9a9e54efd62d45b1e7 libperl-5.8.7.ebuild 10987 -MD5 570e107acc4a5180a5925d99223c3761 libperl-5.8.8_rc1.ebuild 11028 +MD5 9ad37c2c3b25a2918c497617c9df4d74 libperl-5.8.8_rc1.ebuild 11342 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFD07qstG5z4I8BtQoRAt0vAJwIc1w08bwYpReid2lp/VvmO5ZvEgCfdkb1 -kSoesWrenjCgkIou/53bu/M= -=ifOQ +iD8DBQFD1AcatG5z4I8BtQoRAiU7AJ42LY83ePMU5lqLZoOjYDXihKOGKACeM+vJ +BUD4vexSUDfUyudDJ/N2CSs= +=SR8E -----END PGP SIGNATURE----- diff --git a/sys-devel/libperl/libperl-5.8.8_rc1.ebuild b/sys-devel/libperl/libperl-5.8.8_rc1.ebuild index 5ea2a0c6b934..5479072d894b 100644 --- a/sys-devel/libperl/libperl-5.8.8_rc1.ebuild +++ b/sys-devel/libperl/libperl-5.8.8_rc1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.8.8_rc1.ebuild,v 1.1 2006/01/22 17:02:41 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.8.8_rc1.ebuild,v 1.2 2006/01/22 22:28:48 mcummings Exp $ # The basic theory based on comments from Daniel Robbins <drobbins@gentoo.org>. # @@ -103,16 +103,6 @@ pkg_setup() { ewarn "your own discretion. " ewarn "" epause 10 - else - ewarn "" - ewarn "PLEASE NOTE: If you want to compile perl-5.8 with" - ewarn "threading enabled , you must restart this emerge" - ewarn "with USE=ithreads emerge...." - ewarn "Threading is not supported by all applications " - ewarn "that compile against perl. You use threading at " - ewarn "your own discretion. " - ewarn "" - epause 10 fi } @@ -148,9 +138,16 @@ src_unpack() { src_compile() { # Perl has problems compiling with -Os in your flags + # some arches and -O do not mix :) + use arm && replace-flags -O? -O1 + use ppc && replace-flags -O? -O1 + use ia64 && replace-flags -O? -O1 + # Perl has problems compiling with -Os in your flags with glibc use elibc_uclibc || replace-flags "-Os" "-O2" # This flag makes compiling crash in interesting ways filter-flags "-malign-double" + # Fixes bug #97645 + use ppc && filter-flags -mpowerpc-gpopt export LC_ALL="C" local myconf="" @@ -176,18 +173,27 @@ src_compile() { myarch="${myarch%%-*}-${osname}" fi - ewarn "myarch: ${myarch}" + local inclist=$(for v in $PERL_OLDVERSEN; do echo -n "$v $v/$myarch$mythreading "; done) + + # allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1 + + myndbm='U' + mygdbm='U' + mydb='U' if use gdbm then - myconf="${myconf} -Di_gdbm" + mygdbm='D' + myndbm='D' fi if use berkdb then - myconf="${myconf} -Di_db -Di_ndbm" - else - myconf="${myconf} -Ui_db -Ui_ndbm" + mydb='D' + has_version '=sys-libs/db-1*' && myndbm='D' fi + + myconf="${myconf} -${myndbm}i_ndbm -${mygdbm}i_gdbm -${mydb}i_db" + if use mips then # this is needed because gcc 3.3-compiled kernels will hang @@ -206,6 +212,12 @@ src_compile() { myconf="${myconf} -Ud_longdbl" fi + if use alpha && "$(tc-getCC)" == "ccc" + then + ewarn "Perl will not be built with berkdb support, use gcc if you needed it..." + myconf="${myconf} -Ui_db -Ui_ndbm" + fi + rm -f config.sh Policy.sh [ -n "${ABI}" ] && myconf="${myconf} -Dusrinc=$(get_ml_incdir)" @@ -235,7 +247,7 @@ src_compile() { -Dd_semctl_semun \ -Dcf_by='Gentoo' \ -Ud_csh \ - ${myconf} || die + ${myconf} || die "Unable to configure" emake -j1 -f Makefile depend || die "Couldn't make libperl$(get_libname) depends" emake -j1 -f Makefile LIBPERL=${LIBPERL} ${LIBPERL} || die "Unable to make libperl$(get_libname)" |