diff options
author | Ned Ludd <solar@gentoo.org> | 2004-07-03 04:00:17 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-07-03 04:00:17 +0000 |
commit | 5d21748c5ade28fca61227e52f6763590dd7adbb (patch) | |
tree | 5ceb23bd56854f3058fd8fafc759d7db89e7c8b5 /dev-lang/perl | |
parent | add init script, closing #13839 (diff) | |
download | historical-5d21748c5ade28fca61227e52f6763590dd7adbb.tar.gz historical-5d21748c5ade28fca61227e52f6763590dd7adbb.tar.bz2 historical-5d21748c5ade28fca61227e52f6763590dd7adbb.zip |
don't call perl to install manfiles when FEATURES=noman is set. testing of the perl can be disable now with restrictions
Diffstat (limited to 'dev-lang/perl')
-rw-r--r-- | dev-lang/perl/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/perl/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.8.4.ebuild | 19 |
3 files changed, 21 insertions, 6 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog index 40dcaae9b7dc..f436e11c779e 100644 --- a/dev-lang/perl/ChangeLog +++ b/dev-lang/perl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/perl # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.69 2004/06/29 17:56:01 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.70 2004/07/03 04:00:17 solar Exp $ + + 02 Jul 2004; <solar@gentoo.org> perl-5.8.4.ebuild: + don't call perl to install manfiles when FEATURES=noman is set. testing of the + perl can be disable now with restrictions 29 Jun 2004; Aron Griffis <agriffis@gentoo.org> perl-5.8.2-r1.ebuild, perl-5.8.3.ebuild, perl-5.8.4.ebuild: diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest index c7b27beb0cf1..43f27c204921 100644 --- a/dev-lang/perl/Manifest +++ b/dev-lang/perl/Manifest @@ -1,5 +1,5 @@ MD5 5e8a451fd3877f59c083c0b959d276dc perl-5.8.2-r1.ebuild 9916 -MD5 1aa4efef55a6514cb28658226acfd0c4 perl-5.8.4.ebuild 10279 +MD5 bcf044dbb51ff8eed2a8cc59ff7edf80 perl-5.8.4.ebuild 10641 MD5 4ef0623209aa571ab5d7396a2a850ac2 perl-5.8.3.ebuild 9884 MD5 7adb3668823c4ac2987f6b1a67bbf3ac ChangeLog 24849 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 diff --git a/dev-lang/perl/perl-5.8.4.ebuild b/dev-lang/perl/perl-5.8.4.ebuild index 3bf527672b93..3bf5b042cbce 100644 --- a/dev-lang/perl/perl-5.8.4.ebuild +++ b/dev-lang/perl/perl-5.8.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4.ebuild,v 1.14 2004/06/29 17:56:01 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4.ebuild,v 1.15 2004/07/03 04:00:17 solar Exp $ inherit eutils flag-o-matic gcc @@ -196,7 +196,10 @@ src_compile() { MAKEOPTS="${MAKEOPTS} -j1" emake || die "Unable to make" - emake -i test CCDLFLAGS= + if ! hasq maketest $RESTRICT; then + use uclibc && export MAKEOPTS="${MAKEOPTS} -j1" + emake -i test CCDLFLAGS= + fi } src_install() { @@ -248,8 +251,12 @@ EOF dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp fperms 0755 /usr/bin/xsubpp - ./perl installman \ - --destdir="${D}" --man1ext='1' --man3ext='3' + if ! hasq noman $FEATURES; then + # executing a binary we just built is not very cross + # compiler friendly. + ./perl installman \ + --destdir="${D}" --man1ext='1' --man3ext='3' + fi # This removes ${D} from Config.pm and .packlist for i in `find ${D} -iname "Config.pm"` `find ${D} -iname ".packlist"`;do @@ -258,6 +265,10 @@ EOF mv ${i}.new ${i} || die "Sed failed" done + # Note: find out from psm why we would need/want this. + # ( use berkdb && has_version '=sys-libs/db-1*' ) || + # find ${D} -name "*NDBM*" | xargs rm -f + dodoc Changes* Artistic Copying README Todo* AUTHORS if use doc |