summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-10-18 16:14:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-10-18 16:14:49 +0000
commitba591f3917c74627df94795c2ac74b224ec4b5c6 (patch)
tree7d219fb32d34511775990aff26fccaac7a6b5de7 /games-arcade
parentStable on amd64 wrt bug #341321 (diff)
downloadgentoo-2-ba591f3917c74627df94795c2ac74b224ec4b5c6.tar.gz
gentoo-2-ba591f3917c74627df94795c2ac74b224ec4b5c6.tar.bz2
gentoo-2-ba591f3917c74627df94795c2ac74b224ec4b5c6.zip
honor CXX; tidy
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/xevil/ChangeLog6
-rw-r--r--games-arcade/xevil/xevil-2.02_p2-r1.ebuild11
2 files changed, 9 insertions, 8 deletions
diff --git a/games-arcade/xevil/ChangeLog b/games-arcade/xevil/ChangeLog
index 9ba7238770f4..79b03139d9fc 100644
--- a/games-arcade/xevil/ChangeLog
+++ b/games-arcade/xevil/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/xevil
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/ChangeLog,v 1.14 2010/10/18 15:41:11 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/ChangeLog,v 1.15 2010/10/18 16:14:49 mr_bones_ Exp $
+
+ 18 Oct 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ xevil-2.02_p2-r1.ebuild:
+ honor CXX; tidy
18 Oct 2010; Tupone Alfredo <tupone@gentoo.org> xevil-2.02_p2-r1.ebuild:
Respect LDFLAGS. Bug #331897 by flameeyes@gentoo.org
diff --git a/games-arcade/xevil/xevil-2.02_p2-r1.ebuild b/games-arcade/xevil/xevil-2.02_p2-r1.ebuild
index 0474d8b71780..94bc198b9a85 100644
--- a/games-arcade/xevil/xevil-2.02_p2-r1.ebuild
+++ b/games-arcade/xevil/xevil-2.02_p2-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/xevil-2.02_p2-r1.ebuild,v 1.5 2010/10/18 15:41:11 tupone Exp $
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/xevil-2.02_p2-r1.ebuild,v 1.6 2010/10/18 16:14:49 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DEB_PATCH=7
@@ -28,17 +28,14 @@ src_prepare() {
epatch "${WORKDIR}"/xevil_${MY_PV}-${DEB_PATCH}.diff
sed -i \
-e 's:-static::' \
- -e "s:CFLAGS=\":CFLAGS=\"${CFLAGS} :g" \
+ -e 's/CC="g++"/CC=$(CXX)/' \
+ -e "s:CFLAGS=\":CFLAGS=\"${CXXFLAGS} :g" \
-e 's:-lXpm:-lXpm -lpthread:g' \
-e "s:LINK_FLAGS=\":LINK_FLAGS=\"${LDFLAGS} :" \
config.mk || die "sed failed"
epatch "${FILESDIR}"/${P}-glibc-2.10.patch
}
-src_compile() {
- emake STRIP=true || die "emake failed"
-}
-
src_install() {
dogamesbin x11/REDHAT_LINUX/xevil || die "dogamesbin failed"
newgamesbin x11/REDHAT_LINUX/serverping xevil-serverping \