summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-01-15 10:27:47 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-01-15 10:27:47 +0000
commitc6ffa8fb40c740d8181292a1e4784722bf9a1ee3 (patch)
tree2c115d216e02a495e83392fe032ed4eb698c963e /games-puzzle/tetrinet/tetrinet-0.11.ebuild
parentstable x86, bug 205925 (diff)
downloadgentoo-2-c6ffa8fb40c740d8181292a1e4784722bf9a1ee3.tar.gz
gentoo-2-c6ffa8fb40c740d8181292a1e4784722bf9a1ee3.tar.bz2
gentoo-2-c6ffa8fb40c740d8181292a1e4784722bf9a1ee3.zip
USE=-ipv6 compilation fix by Andrew Church, bug #203514
(Portage version: 2.1.4)
Diffstat (limited to 'games-puzzle/tetrinet/tetrinet-0.11.ebuild')
-rw-r--r--games-puzzle/tetrinet/tetrinet-0.11.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games-puzzle/tetrinet/tetrinet-0.11.ebuild b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
index 9b4d3e26923c..508b2690f45d 100644
--- a/games-puzzle/tetrinet/tetrinet-0.11.ebuild
+++ b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tetrinet/tetrinet-0.11.ebuild,v 1.10 2006/12/06 17:27:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tetrinet/tetrinet-0.11.ebuild,v 1.11 2008/01/15 10:27:47 nyhm Exp $
-inherit flag-o-matic games
+inherit eutils flag-o-matic games
DESCRIPTION="console based tetrinet inc. standalone server"
HOMEPAGE="http://tetrinet.or.cz/"
@@ -10,17 +10,16 @@ SRC_URI="http://tetrinet.or.cz/download/${P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86 ~amd64 ppc"
+KEYWORDS="~amd64 ppc x86"
IUSE="ipv6"
RDEPEND=">=sys-libs/ncurses-5"
src_unpack() {
unpack ${A}
- return 0
cd "${S}"
+ epatch "${FILESDIR}"/${P}-no-ipv6.patch
- # for now, make sure IPv6 is always on #32860
use ipv6 && append-flags -DHAVE_IPV6
sed -i \
-e 's/-DHAVE_IPV6//' \