diff options
author | Michael Cummings <mcummings@gentoo.org> | 2003-05-31 16:09:01 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2003-05-31 16:09:01 +0000 |
commit | e8ccd2e50c543ade1819bc32e47f501719719355 (patch) | |
tree | 8d9279eebb262b35ff04149f87eccd027cc47b3c /eclass/perl-module.eclass | |
parent | Proposed "Gentoo Linux Enhancement Proposals", if approved. (diff) | |
download | gentoo-2-e8ccd2e50c543ade1819bc32e47f501719719355.tar.gz gentoo-2-e8ccd2e50c543ade1819bc32e47f501719719355.tar.bz2 gentoo-2-e8ccd2e50c543ade1819bc32e47f501719719355.zip |
added sed fix for .packlist and *.html files generated by packages like PDL
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r-- | eclass/perl-module.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index e3be7483531e..107e5189e07f 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.37 2003/05/30 13:14:19 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.38 2003/05/31 16:09:01 mcummings Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # @@ -27,7 +27,7 @@ perl-module_src_prep() { SRC_PREP="yes" perl Makefile.PL ${myconf} \ - PREFIX=${D}/usr + PREFIX=${D}/usr } perl-module_src_compile() { @@ -96,6 +96,10 @@ perl-module_src_install() { rm -f ${D}/${SITE_LIB}/perllocal.pod fi + for FILE in `find ${D} -type f -name "*.html" -o -name ".packlist"`; do + sed -ie "s:${D}:/:g" ${FILE} + done + dodoc Change* MANIFEST* README* ${mydoc} } |