diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-10-11 15:34:38 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-10-11 15:34:38 +0000 |
commit | 5876b5bb739a2697158edcee954e4de43360b25c (patch) | |
tree | 324badeaa20efd9cdeb714df14285c1ed9a8ae9f /games-board/xscrabble/xscrabble-2.10-r1.ebuild | |
parent | Ensure we can build in parallel (diff) | |
download | gentoo-2-5876b5bb739a2697158edcee954e4de43360b25c.tar.gz gentoo-2-5876b5bb739a2697158edcee954e4de43360b25c.tar.bz2 gentoo-2-5876b5bb739a2697158edcee954e4de43360b25c.zip |
Respect LDFLAGS. Bug #335996
(Portage version: 2.1.9.14/cvs/Linux i686)
Diffstat (limited to 'games-board/xscrabble/xscrabble-2.10-r1.ebuild')
-rw-r--r-- | games-board/xscrabble/xscrabble-2.10-r1.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games-board/xscrabble/xscrabble-2.10-r1.ebuild b/games-board/xscrabble/xscrabble-2.10-r1.ebuild index 096d15f10736..1143a3d5728c 100644 --- a/games-board/xscrabble/xscrabble-2.10-r1.ebuild +++ b/games-board/xscrabble/xscrabble-2.10-r1.ebuild @@ -1,6 +1,7 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/xscrabble-2.10-r1.ebuild,v 1.7 2008/01/14 19:29:09 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/xscrabble-2.10-r1.ebuild,v 1.8 2010/10/11 15:34:38 tupone Exp $ +EAPI="2" inherit eutils multilib games @@ -25,8 +26,11 @@ src_unpack() { unpack ${P}.tgz cp "${DISTDIR}"/xscrabble_en.tgz . use linguas_fr && cp "${DISTDIR}"/xscrabble_fr.tgz . - cd "${S}" - epatch "${FILESDIR}"/${P}-path-fixes.patch +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-path-fixes.patch \ + "${FILESDIR}"/${P}-ldflags.patch sed -i '/install/s/-s //' build || die "sed failed" } |