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/xevil-2.02_p2-r1.ebuild
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/xevil-2.02_p2-r1.ebuild')
-rw-r--r--games-arcade/xevil/xevil-2.02_p2-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
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
}