summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2007-05-24 15:11:20 +0000
committerMichael Cummings <mcummings@gentoo.org>2007-05-24 15:11:20 +0000
commit6b5fb7a7a2ace4334d1244e6434213dfa9e529b1 (patch)
tree8d19de68c5d21ae16a1c37fba5d20e2fa23a92d1 /eclass
parentStable on sparc (diff)
downloadhistorical-6b5fb7a7a2ace4334d1244e6434213dfa9e529b1.tar.gz
historical-6b5fb7a7a2ace4334d1244e6434213dfa9e529b1.tar.bz2
historical-6b5fb7a7a2ace4334d1244e6434213dfa9e529b1.zip
Modified to deal with bad upstream perl-module authors leaving .svn directories around (which portage then merges onto the file system)
Diffstat (limited to '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 21cf8678d4a6..10407d43e579 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.104 2006/12/09 14:34:01 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.105 2007/05/24 15:11:20 mcummings Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
# Maintained by the Perl herd <perl@gentoo.org>
@@ -115,7 +115,7 @@ perl-module_src_prep() {
SRC_PREP="yes"
- pwd
+ find ${S} -type d -name "\.svn" -exec /bin/rm -rf {} \; 2>/dev/null
if [ "${PREFER_BUILDPL}" == "yes" ] && ( [ -f Build.PL ] || [ ${PN} == "module-build" ] ); then
einfo "Using Module::Build"
echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)"