summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-05-02 02:14:13 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-05-02 02:14:13 +0000
commit3d94291856caae00b96b1815b94c40acfab724a7 (patch)
treedaea37d60ab1699c0a0a432e4b25181f94571dd9 /eclass/perl-module.eclass
parentAdded ~sparc keyword. (diff)
downloadhistorical-3d94291856caae00b96b1815b94c40acfab724a7.tar.gz
historical-3d94291856caae00b96b1815b94c40acfab724a7.tar.bz2
historical-3d94291856caae00b96b1815b94c40acfab724a7.zip
Unusual bug cropped up with module-build. This attempts to overcome it by building both Makefile.PL and Build.PL (then using the appropriate one as necessary).
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 43515e53f652..0ffbab624061 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.88 2006/04/03 16:50:25 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.89 2006/05/02 02:14:13 mcummings Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
# Maintained by the Perl herd <perl@gentoo.org>
@@ -101,9 +101,9 @@ perl-module_src_prep() {
perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\
PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}
fi
- if [ -f Build.PL ] && [ ! -f Makefile ] ; then
+ if [ -f Build.PL ] ; then
einfo "Using Module::Build"
- perl Build.PL installdirs=vendor destdir=${D} libdoc=
+ perl Build.PL --installdirs=vendor --destdir=${D} --libdoc=
fi
if [ ! -f Build.PL ] && [ ! -f Makefile.PL ]; then
einfo "No Make or Build file detected..."