summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-08-17 06:20:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-08-17 06:20:35 +0000
commitf8ff7e7b78bce38ccfb88f1c972c65ce6475f0c2 (patch)
tree821db6f9275029c79722da747de99d248742bee6 /games-fps/cube
parentunmask gcc34 in cascaded gcc34 profile, just to make sense (diff)
downloadgentoo-2-f8ff7e7b78bce38ccfb88f1c972c65ce6475f0c2.tar.gz
gentoo-2-f8ff7e7b78bce38ccfb88f1c972c65ce6475f0c2.tar.bz2
gentoo-2-f8ff7e7b78bce38ccfb88f1c972c65ce6475f0c2.zip
|| what?
Diffstat (limited to 'games-fps/cube')
-rw-r--r--games-fps/cube/cube-20040522.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games-fps/cube/cube-20040522.ebuild b/games-fps/cube/cube-20040522.ebuild
index 31158c828d15..581e6989d6ee 100644
--- a/games-fps/cube/cube-20040522.ebuild
+++ b/games-fps/cube/cube-20040522.ebuild
@@ -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/games-fps/cube/cube-20040522.ebuild,v 1.3 2004/08/16 10:09:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20040522.ebuild,v 1.4 2004/08/17 06:20:35 mr_bones_ Exp $
inherit eutils games
@@ -54,7 +54,7 @@ src_unpack() {
src_compile() {
cd source/enet
- econf ||
+ econf || die
emake || die "emake failed"
cd ../src
einfo "Compiling in $(pwd)"
@@ -77,7 +77,8 @@ src_install() {
sed -i \
-e "s:GENTOO_DATADIR:${CUBE_DATADIR}:" \
-e "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" \
- "${D}/${GAMES_BINDIR}/cube_"{client,server}-bin
+ "${D}/${GAMES_BINDIR}/cube_"{client,server}-bin \
+ || die "sed failed"
dodir "${CUBE_DATADIR}"
cp -r *.cfg data packages "${D}/${CUBE_DATADIR}" \