summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/c++robots/c++robots-0.ebuild')
-rw-r--r--games-misc/c++robots/c++robots-0.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games-misc/c++robots/c++robots-0.ebuild b/games-misc/c++robots/c++robots-0.ebuild
index 54529c11d72c..a3d05c76e605 100644
--- a/games-misc/c++robots/c++robots-0.ebuild
+++ b/games-misc/c++robots/c++robots-0.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/c++robots-0.ebuild,v 1.9 2014/04/17 19:17:30 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/c++robots-0.ebuild,v 1.10 2014/05/13 06:37:18 tupone Exp $
+EAPI=4
inherit eutils games
DESCRIPTION="ongoing 'King of the Hill' (KotH) tournament"
@@ -15,20 +16,18 @@ IUSE="static"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/proper-coding.patch"
}
src_compile() {
local myldflags="${LDFLAGS}"
use static && myldflags="${myldflags} -static"
- emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}" || die "emake failed"
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}"
}
src_install() {
- dogamesbin combat cylon target tracker || die "dogamesbin failed"
+ dogamesbin combat cylon target tracker
dodoc README
prepgamesdirs
}