summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-10-17 08:01:12 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-10-17 08:01:12 +0000
commit59a0889d82afa64e5bf2c9a28ecabb3c9f81777e (patch)
tree4c5a2542a516571855db95f44b7579c25f049ca4 /eclass/perl-module.eclass
parentadapt texlive mask (diff)
downloadgentoo-2-59a0889d82afa64e5bf2c9a28ecabb3c9f81777e.tar.gz
gentoo-2-59a0889d82afa64e5bf2c9a28ecabb3c9f81777e.tar.bz2
gentoo-2-59a0889d82afa64e5bf2c9a28ecabb3c9f81777e.zip
Make minor tweak to the MODULE_AUTHOR section, for some authors that subdivided their CPAN space.
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index c54e964e19cf..4a6eaa2777fb 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -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/eclass/perl-module.eclass,v 1.109 2007/10/17 07:49:15 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.110 2007/10/17 08:01:12 robbat2 Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
# Maintained by the Perl herd <perl@gentoo.org>
@@ -89,7 +89,7 @@ EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm src_com
# and it will set your HOMEPAGE and SRC_URI correctly for a CPAN package.
if [ -z "${HOMEPAGE}" -a -z "${SRC_URI}" -a -n "${MODULE_AUTHOR}" ]; then
- HOMEPAGE="http://search.cpan.org/~${MODULE_AUTHOR}/"
+ HOMEPAGE="http://search.cpan.org/~${MODULE_AUTHOR//\/*}/"
SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${P}.tar.gz"
fi