summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-06-07 21:15:08 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-06-07 21:15:08 +0000
commit4b0d7f9ca35a16355b87eab4842eadb31f6a64c0 (patch)
treeca3115b9837e9a60388076369ee78d095522139b /eclass/perl-module.eclass
parentadd GCONF_DEBUG var to opt-out of default behavior for adding debug use flag.... (diff)
downloadhistorical-4b0d7f9ca35a16355b87eab4842eadb31f6a64c0.tar.gz
historical-4b0d7f9ca35a16355b87eab4842eadb31f6a64c0.tar.bz2
historical-4b0d7f9ca35a16355b87eab4842eadb31f6a64c0.zip
bug 135890
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 015761923f07..56e2b4bb2fc7 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.94 2006/06/06 14:08:47 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.95 2006/06/07 21:15:08 mcummings Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
# Maintained by the Perl herd <perl@gentoo.org>
@@ -103,7 +103,7 @@ perl-module_src_prep() {
perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\
PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)"
fi
- if [ -f Build.PL ] ; then
+ if [ -f Build.PL ] && [ ! -f Makefile.PL ] ; then
einfo "Using Module::Build"
perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)"
fi