summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Gavin <pete@gentoo.org>2001-08-19 00:26:21 +0000
committerPeter Gavin <pete@gentoo.org>2001-08-19 00:26:21 +0000
commitab1488815a146bf8704641b64f75cea46f975e0c (patch)
treedf1e887ad1378c8a841d413a81b50504d2232e09 /skel.build
parentfixed a typo (diff)
downloadgentoo-2-ab1488815a146bf8704641b64f75cea46f975e0c.tar.gz
gentoo-2-ab1488815a146bf8704641b64f75cea46f975e0c.tar.bz2
gentoo-2-ab1488815a146bf8704641b64f75cea46f975e0c.zip
updated to use die rather than try
Diffstat (limited to 'skel.build')
-rw-r--r--skel.build12
1 files changed, 6 insertions, 6 deletions
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 <your email>
-# $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}.
}