From de2858e98b78a09c0dcc76aca545d61f3167058a Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Mon, 12 Jun 2006 20:11:39 +0000 Subject: bug 136465 --- eclass/perl-module.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/perl-module.eclass') diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 56e2b4bb2fc7..351356d2d85f 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.95 2006/06/07 21:15:08 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.96 2006/06/12 20:11:39 mcummings Exp $ # # Author: Seemant Kulleen # Maintained by the Perl herd @@ -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 ] && [ ! -f Makefile.PL ] ; then + if [ -f Build.PL ] && ( [ ! -f Makefile.PL ] || [ ${PN} == "module-build" ]); then einfo "Using Module::Build" perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" fi -- cgit v1.2.3-65-gdbad