From 120e7899e25b8da52925b7530d84cccbbe3b54c8 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Tue, 6 Jun 2006 14:08:47 +0000 Subject: [PATCH] Missed a die line in perl-module.eclass, added new dies to perl-app.eclass --- eclass/perl-app.eclass | 8 ++++---- eclass/perl-module.eclass | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/perl-app.eclass b/eclass/perl-app.eclass index 4f5e9e12fb8a..8ad3f409770b 100644 --- a/eclass/perl-app.eclass +++ b/eclass/perl-app.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-app.eclass,v 1.5 2006/05/05 13:58:54 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-app.eclass,v 1.6 2006/06/06 14:08:47 mcummings Exp $ # # Author: Michael Cummings @@ -28,11 +28,11 @@ perl-app_src_prep() { einfo "Using ExtUtils::MakeMaker" #perl Makefile.PL ${myconf} \ perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\ - PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} + PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)" fi if [ -f Build.PL ] && [ ! -f Makefile ] ; then einfo "Using Module::Build" - perl Build.PL installdirs=vendor destdir=${D} libdoc= + perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" fi if [ ! -f Build.PL ] && [ ! -f Makefile.PL ]; then einfo "No Make or Build file detected..." @@ -47,7 +47,7 @@ perl-app_src_compile() { if [ -f Makefile ]; then make ${mymake} || die "compilation failed" elif [ -f Build ]; then - perl Build build + perl Build build || die "compilation failed" fi } diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 778d5e3f72d5..015761923f07 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.93 2006/06/06 14:01:48 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.94 2006/06/06 14:08:47 mcummings Exp $ # # Author: Seemant Kulleen # Maintained by the Perl herd @@ -120,7 +120,7 @@ perl-module_src_compile() { if [ -f Makefile ]; then make ${mymake} || die "compilation failed" elif [ -f Build ]; then - perl Build build + perl Build build || die "compilation failed" fi } -- 2.26.2