Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9882 - perl-5.6.1-r7 on gentoo-1.4rc1 stage1 ebuild crash
Summary: perl-5.6.1-r7 on gentoo-1.4rc1 stage1 ebuild crash
Status: RESOLVED DUPLICATE of bug 8659
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-29 03:55 UTC by Tanguy Bouzéloc
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tanguy Bouzéloc 2002-10-29 03:55:51 UTC
hello,

perl ebuild do not work on foreign languages, I remplaced egreps with sed and
installhtml fail also on stage1 because perl do not know It's lib path.

Here follow the patch I used to pass ebuild :
--- perl-5.6.1-r7.ebuild.orig   2002-10-17 18:50:18.000000000 +0200
+++ perl-5.6.1-r7.ebuild        2002-10-29 10:47:11.000000000 +0100
@@ -65,8 +65,8 @@
        make -f Makefile depend || die
        mv makefile makefile_orig
        mv x2p/makefile x2p/makefile_orig
-                 egrep -v "(<built-in>|<command line>)" makefile_orig >makefile
-                 egrep -v "(<built-in>|<command line>)" x2p/makefile_orig
>x2p/makefile
+       sed "/^.*: <.*>$/d" makefile_orig > makefile
+       sed "/^.*: <.*>$/d" x2p/makefile_orig > x2p/makefile
        make -f Makefile libperl.so || die
        mv libperl.so ${WORKDIR}
 
@@ -129,8 +129,8 @@
     make -f Makefile depend || die
     mv makefile makefile_orig
     mv x2p/makefile x2p/makefile_orig
-    egrep -v "(<built-in>|<command line>)" makefile_orig >makefile
-    egrep -v "(<built-in>|<command line>)" x2p/makefile_orig >x2p/makefile
+       sed "/^.*: <.*>$/d" makefile_orig > makefile
+       sed "/^.*: <.*>$/d" x2p/makefile_orig > x2p/makefile
     make -f Makefile || die
        cp ${O}/files/stat.t ./t/op/
     # Parallel make fails
@@ -186,6 +186,6 @@
        # HTML Documentation
     
        dodir /usr/share/doc/${PF}/html
-    ./perl installhtml --recurse --htmldir=${D}/usr/share/doc/${PF}/html
+       ./perl -I${S}/lib installhtml --recurse
--htmldir=${D}/usr/share/doc/${PF}/html
 
 }
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2002-10-31 16:49:52 UTC

*** This bug has been marked as a duplicate of 8659 ***