From ab1488815a146bf8704641b64f75cea46f975e0c Mon Sep 17 00:00:00 2001 From: Peter Gavin Date: Sun, 19 Aug 2001 00:26:21 +0000 Subject: updated to use die rather than try --- skel.build | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'skel.build') diff --git a/skel.build b/skel.build index de7103be54ed..8fcf1ab12dce 100644 --- a/skel.build +++ b/skel.build @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author First Last -# $Header: /var/cvsroot/gentoo-x86/skel.build,v 1.5 2001/07/24 22:30:35 lordjoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/skel.build,v 1.6 2001/08/19 00:26:21 pete Exp $ #Remeber to add the proper Author line, above. Don't worry about the fourth line; #it'll get automatically fixed when the ebuild is checked in @@ -28,16 +28,16 @@ DEPEND="" src_compile() { #the "try" command will stop the build process if the specified command fails. Prefix critical #commands with "try" - try ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} + ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die #Note the use of --infodir and --mandir, above. This is to make this package FHS 2.2-compliant #(/usr/share is used for info and man now). - try emake + emake || die #emake (previously known as pmake) is a script that calls the standard GNU make with parallel #building options for speedier builds on SMP systems. Use emake first; it might not work. If #not, then replace the line above with: - #try make + #make || die } src_install () { @@ -47,9 +47,9 @@ src_install () { #also work for autoconf stuff (usually much more often than DESTDIR, #which is actually quite rare. - # try make prefix=${D}/usr install + make prefix=${D}/usr install || die - try make DESTDIR=${D} install + make DESTDIR=${D} install || die #again, verify the Makefiles! We don't want anything falling outside #of ${D}. } -- cgit v1.2.3-65-gdbad