diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-10-18 15:41:11 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-10-18 15:41:11 +0000 |
commit | 12b9ca05b524ebe59b0f14f596c4af54051f94cd (patch) | |
tree | c0cdb89cbd4a81e61d61dd00655e855bbd08dfcb /games-arcade/xevil/xevil-2.02_p2-r1.ebuild | |
parent | Version bump. (diff) | |
download | historical-12b9ca05b524ebe59b0f14f596c4af54051f94cd.tar.gz historical-12b9ca05b524ebe59b0f14f596c4af54051f94cd.tar.bz2 historical-12b9ca05b524ebe59b0f14f596c4af54051f94cd.zip |
Respect LDFLAGS. Bug #331897
Package-Manager: portage-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.ebuild | 9 |
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 } |