summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 03:27:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 03:27:35 +0000
commitd0a1e326a5716d9c60f84ec99c3fc42734c18ed2 (patch)
tree00f679b7fdc07e5aaeaea5a56b7b79cd8a897173 /games-arcade
parentbuild with ncurses[tinfo] (bug #529742) (diff)
downloadgentoo-2-d0a1e326a5716d9c60f84ec99c3fc42734c18ed2.tar.gz
gentoo-2-d0a1e326a5716d9c60f84ec99c3fc42734c18ed2.tar.bz2
gentoo-2-d0a1e326a5716d9c60f84ec99c3fc42734c18ed2.zip
build with ncurses[tinfo] (bug #529802)
(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/ascii-invaders/ChangeLog9
-rw-r--r--games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild14
2 files changed, 14 insertions, 9 deletions
diff --git a/games-arcade/ascii-invaders/ChangeLog b/games-arcade/ascii-invaders/ChangeLog
index de6b362eccda..4a71a6939bd3 100644
--- a/games-arcade/ascii-invaders/ChangeLog
+++ b/games-arcade/ascii-invaders/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/ascii-invaders
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/ascii-invaders/ChangeLog,v 1.17 2009/12/19 21:10:23 grobian Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ascii-invaders/ChangeLog,v 1.18 2014/11/19 03:27:35 mr_bones_ Exp $
+
+ 19 Nov 2014; Michael Sterrett <mr_bones_@gentoo.org>
+ ascii-invaders-0.1b.ebuild:
+ build with ncurses[tinfo] (bug #529802)
19 Dec 2009; Fabian Groffen <grobian@gentoo.org>
ascii-invaders-0.1b.ebuild:
@@ -59,4 +63,3 @@
23 Jul 2003; Tavis Ormandy <taviso@gentoo.org> ascii-invaders-0.1b.ebuild,
metadata.xml:
initial import
-
diff --git a/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild b/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild
index 4afe9e916e93..5fbc0faea17f 100644
--- a/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild
+++ b/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild,v 1.21 2009/12/19 21:10:23 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild,v 1.22 2014/11/19 03:27:35 mr_bones_ Exp $
-EAPI=2
+EAPI=5
inherit games
DESCRIPTION="Space invaders clone, using ncurses library"
@@ -14,7 +14,9 @@ SLOT="0"
KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos"
IUSE=""
-DEPEND="sys-libs/ncurses"
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
S=${WORKDIR}/invaders
@@ -23,11 +25,11 @@ src_prepare() {
}
src_compile() {
- emake LDLIBS=-lncurses invaders || die "emake failed"
+ emake LDLIBS="$(pkg-config ncurses --libs)" invaders
}
src_install() {
- newgamesbin invaders ${PN} || die "newgamesbin failed"
+ newgamesbin invaders ${PN}
dodoc TODO
prepgamesdirs
}