summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-31 08:55:28 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-31 08:55:28 +0000
commit36c36c80f09fd0b16e7541ac2cd901c9dd6b0bf1 (patch)
tree014238661eeebee938ce3ac9d8b62736785a9fa8 /sys-block/eject-bsd
parentRemove sys-block/unieject because it's masked. (diff)
downloadgentoo-2-36c36c80f09fd0b16e7541ac2cd901c9dd6b0bf1.tar.gz
gentoo-2-36c36c80f09fd0b16e7541ac2cd901c9dd6b0bf1.tar.bz2
gentoo-2-36c36c80f09fd0b16e7541ac2cd901c9dd6b0bf1.zip
At least die if the binary isn't found
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/eject-bsd')
-rw-r--r--sys-block/eject-bsd/eject-bsd-1.5.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys-block/eject-bsd/eject-bsd-1.5.ebuild b/sys-block/eject-bsd/eject-bsd-1.5.ebuild
index 1cd9c24420db..b4dcc9168219 100644
--- a/sys-block/eject-bsd/eject-bsd-1.5.ebuild
+++ b/sys-block/eject-bsd/eject-bsd-1.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild,v 1.4 2009/08/12 19:22:26 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild,v 1.5 2011/03/31 08:55:28 ssuominen Exp $
inherit eutils portability toolchain-funcs
@@ -24,16 +24,16 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-manpage.patch"
- epatch "${FILESDIR}/${P}-devname.patch"
+ epatch "${FILESDIR}"/${P}-manpage.patch
+ epatch "${FILESDIR}"/${P}-devname.patch
}
src_compile() {
- $(get_bmake) CC="$(tc-getCC)" PREFIX="/usr" eject || die "$(get_bmake) failed"
+ $(get_bmake) CC="$(tc-getCC)" PREFIX=/usr eject || die
}
src_install() {
- dobin "${S}/eject"
- doman "${S}/eject.1"
- dodoc "${S}/README"
+ dobin "${S}"/eject || die
+ doman "${S}"/eject.1
+ dodoc "${S}"/README
}