summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-18 15:41:11 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-18 15:41:11 +0000
commit73ebcea6440e94581e5b55872c0e60cfefb66b1d (patch)
treee0d66c1206ea6510f286f08ca786a85d4fa5546c /games-arcade/xevil
parentVersion bump. (diff)
downloadgentoo-2-73ebcea6440e94581e5b55872c0e60cfefb66b1d.tar.gz
gentoo-2-73ebcea6440e94581e5b55872c0e60cfefb66b1d.tar.bz2
gentoo-2-73ebcea6440e94581e5b55872c0e60cfefb66b1d.zip
Respect LDFLAGS. Bug #331897
(Portage version: 2.1.9.14/cvs/Linux i686)
Diffstat (limited to 'games-arcade/xevil')
-rw-r--r--games-arcade/xevil/ChangeLog7
-rw-r--r--games-arcade/xevil/xevil-2.02_p2-r1.ebuild9
2 files changed, 10 insertions, 6 deletions
diff --git a/games-arcade/xevil/ChangeLog b/games-arcade/xevil/ChangeLog
index 38ac4232f720..9ba7238770f4 100644
--- a/games-arcade/xevil/ChangeLog
+++ b/games-arcade/xevil/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/xevil
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xevil/ChangeLog,v 1.13 2009/09/04 09:32:43 ssuominen Exp $
+# 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 $
+
+ 18 Oct 2010; Tupone Alfredo <tupone@gentoo.org> xevil-2.02_p2-r1.ebuild:
+ Respect LDFLAGS. Bug #331897 by flameeyes@gentoo.org
04 Sep 2009; Samuli Suominen <ssuominen@gentoo.org>
xevil-2.02_p2-r1.ebuild, +files/xevil-2.02_p2-glibc-2.10.patch:
diff --git a/games-arcade/xevil/xevil-2.02_p2-r1.ebuild b/games-arcade/xevil/xevil-2.02_p2-r1.ebuild
index 93173ec00831..0474d8b71780 100644
--- a/games-arcade/xevil/xevil-2.02_p2-r1.ebuild
+++ b/games-arcade/xevil/xevil-2.02_p2-r1.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2009 Gentoo Foundation
+# 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.4 2009/09/04 09:32:43 ssuominen Exp $
+# $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
inherit eutils games
@@ -22,14 +23,14 @@ DEPEND="${RDEPEND}
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
+src_prepare() {
edos2unix readme.txt x11/*.{cpp,h} cmn/*.{cpp,h} makefile config.mk
epatch "${WORKDIR}"/xevil_${MY_PV}-${DEB_PATCH}.diff
sed -i \
-e 's:-static::' \
-e "s:CFLAGS=\":CFLAGS=\"${CFLAGS} :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
}