summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-04-06 02:40:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-04-06 02:40:55 +0000
commite2dac9bf4f9c240f52d6e9a3820185c3e2fc1590 (patch)
tree6ab1dca07328a5b36a0cfe3c3d5336441819a4cd /games-fps/warsow
parentversion bump (diff)
downloadgentoo-2-e2dac9bf4f9c240f52d6e9a3820185c3e2fc1590.tar.gz
gentoo-2-e2dac9bf4f9c240f52d6e9a3820185c3e2fc1590.tar.bz2
gentoo-2-e2dac9bf4f9c240f52d6e9a3820185c3e2fc1590.zip
fix install when USE="-* dedicated" is used (bug #215976)
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-fps/warsow')
-rw-r--r--games-fps/warsow/ChangeLog5
-rw-r--r--games-fps/warsow/warsow-0.4.2.ebuild25
2 files changed, 23 insertions, 7 deletions
diff --git a/games-fps/warsow/ChangeLog b/games-fps/warsow/ChangeLog
index 24545b4ad427..e423eb6f54db 100644
--- a/games-fps/warsow/ChangeLog
+++ b/games-fps/warsow/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/warsow
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.16 2008/03/17 07:31:12 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.17 2008/04/06 02:40:55 mr_bones_ Exp $
+
+ 06 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org> warsow-0.4.2.ebuild:
+ fix install when USE="-* dedicated" is used (bug #215976)
*warsow-0.4.2 (17 Mar 2008)
diff --git a/games-fps/warsow/warsow-0.4.2.ebuild b/games-fps/warsow/warsow-0.4.2.ebuild
index 17f7ba0f7931..a26894376df4 100644
--- a/games-fps/warsow/warsow-0.4.2.ebuild
+++ b/games-fps/warsow/warsow-0.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-0.4.2.ebuild,v 1.1 2008/03/17 07:31:12 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-0.4.2.ebuild,v 1.2 2008/04/06 02:40:55 mr_bones_ Exp $
inherit eutils toolchain-funcs versionator games
@@ -60,6 +60,17 @@ src_compile() {
use openal && openal="YES"
fi
+ echo emake \
+ BUILD_CLIENT=${client} \
+ BUILD_SERVER=$(yesno dedicated) \
+ BUILD_TV_SERVER=$(yesno dedicated) \
+ BUILD_IRC=${irc} \
+ BUILD_SND_OPENAL=${openal} \
+ BUILD_SND_QF=${client} \
+ DEBUG_BUILD=$(yesno debug) \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ || die "emake failed"
emake \
BUILD_CLIENT=${client} \
BUILD_SERVER=$(yesno dedicated) \
@@ -99,11 +110,13 @@ src_install() {
"${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed"
done
- dodir "${GAMES_DATADIR}"/${PN}/libs
- for so in libs/*.so ; do
- dosym "$(games_get_libdir)"/${PN}/${so##*/} \
- "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed"
- done
+ if [[ -e libs ]] ; then
+ dodir "${GAMES_DATADIR}"/${PN}/libs
+ for so in libs/*.so ; do
+ dosym "$(games_get_libdir)"/${PN}/${so##*/} \
+ "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed"
+ done
+ fi
dodoc "${WORKDIR}"/docs/*
prepgamesdirs