summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-06-16 08:54:46 +0000
committerTorsten Veller <tove@gentoo.org>2010-06-16 08:54:46 +0000
commit98522feca32c1d79ea5031a0dd4411cc853b5cea (patch)
treedea267faef7b8b4f4aaa6c6a6b6e294107b3f3a6 /eclass
parentFix regressions from last version (diff)
downloadgentoo-2-98522feca32c1d79ea5031a0dd4411cc853b5cea.tar.gz
gentoo-2-98522feca32c1d79ea5031a0dd4411cc853b5cea.tar.bz2
gentoo-2-98522feca32c1d79ea5031a0dd4411cc853b5cea.zip
.packlist and *.bs files are installed to VENDOR_ARCH not VENDOR_LIB. Deleting all empty directories shouldn't do any harm as perl_delete_localpod does it before and it is needed if VENDOR_ARCH is not a subdirectory of VENDOR_LIB
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-module.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 993e7ddceaba..7a78c4a7100d 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.124 2010/04/22 11:43:30 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.125 2010/06/16 08:54:46 tove Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
@@ -310,10 +310,10 @@ perl_delete_module_manpages() {
perl_delete_packlist() {
debug-print-function $FUNCNAME "$@"
perl_set_version
- if [[ -d ${D}/${VENDOR_LIB} ]] ; then
- find "${D}/${VENDOR_LIB}" -type f -a \( -name .packlist \
+ if [[ -d ${D}/${VENDOR_ARCH} ]] ; then
+ find "${D}/${VENDOR_ARCH}" -type f -a \( -name .packlist \
-o \( -name '*.bs' -a -empty \) \) -delete
- find "${D}/${VENDOR_LIB}" -depth -mindepth 1 -type d -empty -delete
+ find "${D}" -depth -mindepth 1 -type d -empty -delete
fi
}