summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-11-10 08:43:21 +0000
committerJeroen Roovers <jer@gentoo.org>2014-11-10 08:43:21 +0000
commitf63913f78323552f43b524242cf69cc3d7b12332 (patch)
treefba513fac5fac3799d7f18b03f01c4b0861d2c44 /games-puzzle/tetrinet/tetrinet-0.11.ebuild
parentproxy commit for Pawel Stankowski, fix bugs 499806 513220 524996 519050 50632... (diff)
downloadgentoo-2-f63913f78323552f43b524242cf69cc3d7b12332.tar.gz
gentoo-2-f63913f78323552f43b524242cf69cc3d7b12332.tar.bz2
gentoo-2-f63913f78323552f43b524242cf69cc3d7b12332.zip
Fix building against sys-libs/ncurses[tinfo] (bug #527876).
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'games-puzzle/tetrinet/tetrinet-0.11.ebuild')
-rw-r--r--games-puzzle/tetrinet/tetrinet-0.11.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/games-puzzle/tetrinet/tetrinet-0.11.ebuild b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
index 9232850d4fa3..fe258210bec9 100644
--- a/games-puzzle/tetrinet/tetrinet-0.11.ebuild
+++ b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2014 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.14 2010/07/14 17:38:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tetrinet/tetrinet-0.11.ebuild,v 1.15 2014/11/10 08:43:21 jer Exp $
-EAPI=2
-inherit eutils flag-o-matic games
+EAPI=5
+inherit eutils flag-o-matic games toolchain-funcs
DESCRIPTION="console based tetrinet inc. standalone server"
HOMEPAGE="http://tetrinet.or.cz/"
@@ -14,18 +14,23 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE="ipv6"
-DEPEND=">=sys-libs/ncurses-5"
+RDEPEND=">=sys-libs/ncurses-5"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-no-ipv6.patch \
"${FILESDIR}"/${P}-build.patch
- use ipv6 && append-flags -DHAVE_IPV6
+ use ipv6 && append-cflags -DHAVE_IPV6
+ tc-export PKG_CONFIG
}
src_install() {
- dogamesbin tetrinet tetrinet-server || die "dogamesbin failed"
+ dogamesbin tetrinet tetrinet-server
dodoc README TODO tetrinet.txt
prepgamesdirs
}