Index: perl-5.8.4.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4.ebuild,v retrieving revision 1.14 diff -u -b -B -w -p -r1.14 perl-5.8.4.ebuild --- perl-5.8.4.ebuild 29 Jun 2004 17:56:01 -0000 1.14 +++ perl-5.8.4.ebuild 2 Jul 2004 18:33:15 -0000 @@ -196,7 +196,10 @@ src_compile() { MAKEOPTS="${MAKEOPTS} -j1" emake || die "Unable to make" + if hasq maketest $FEATURES; then + use uclibc && export MAKEOPTS="${MAKEOPTS} -j1" emake -i test CCDLFLAGS= + fi } src_install() { @@ -248,8 +251,13 @@ EOF dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp fperms 0755 /usr/bin/xsubpp + if ! hasq noman $FEATURES; then + # executing a binary we just built is not very cross + # compiler friendly. for some reason all the manfiles + # get installed on / when using this command and uclibc. ./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 +266,10 @@ EOF mv ${i}.new ${i} || die "Sed failed" done + # find out of 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