summaryrefslogtreecommitdiff
path: root/eclass
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
commitd10b74617921e6fed977b4b9d744b720a8eee749 (patch)
tree753dbaa7722b37be12115b5eb3f3fe6de226a6d7 /eclass
parentAdded ~sparc keyword. (diff)
downloadgentoo-2-d10b74617921e6fed977b4b9d744b720a8eee749.tar.gz
gentoo-2-d10b74617921e6fed977b4b9d744b720a8eee749.tar.bz2
gentoo-2-d10b74617921e6fed977b4b9d744b720a8eee749.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')
-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..."