summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 02:20:15 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 02:20:15 +0000
commit469bae4984dc4459030037ee3d52e18a5a1eb4fa (patch)
treee83d575fb08527fc0085ab19b87ecac2ca00145b /games-puzzle/tetrinet/tetrinet-0.11.ebuild
parentversion bump (diff)
downloadgentoo-2-469bae4984dc4459030037ee3d52e18a5a1eb4fa.tar.gz
gentoo-2-469bae4984dc4459030037ee3d52e18a5a1eb4fa.tar.bz2
gentoo-2-469bae4984dc4459030037ee3d52e18a5a1eb4fa.zip
EAPI=2; respect CC
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-puzzle/tetrinet/tetrinet-0.11.ebuild')
-rw-r--r--games-puzzle/tetrinet/tetrinet-0.11.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games-puzzle/tetrinet/tetrinet-0.11.ebuild b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
index 508b2690f45d..203d8578a241 100644
--- a/games-puzzle/tetrinet/tetrinet-0.11.ebuild
+++ b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 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.11 2008/01/15 10:27:47 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tetrinet/tetrinet-0.11.ebuild,v 1.12 2009/01/29 02:20:15 mr_bones_ Exp $
+EAPI=2
inherit eutils flag-o-matic games
DESCRIPTION="console based tetrinet inc. standalone server"
@@ -13,15 +14,14 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE="ipv6"
-RDEPEND=">=sys-libs/ncurses-5"
+DEPEND=">=sys-libs/ncurses-5"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-no-ipv6.patch
use ipv6 && append-flags -DHAVE_IPV6
sed -i \
+ -e '/^CC/d' \
-e 's/-DHAVE_IPV6//' \
-e "s:-O2:${CFLAGS}:" Makefile \
|| die "sed Makefile failed"