summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 03:15:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 03:15:38 +0000
commit0cbad07141ffeb7a34e4c7db6f8c5d4f829f6108 (patch)
tree483ec9ba359f98476f760c5cc3b3c71d5319de41 /games-arcade/aop
parentbuild with ncurses[tinfo] (bug #529738) (diff)
downloadgentoo-2-0cbad07141ffeb7a34e4c7db6f8c5d4f829f6108.tar.gz
gentoo-2-0cbad07141ffeb7a34e4c7db6f8c5d4f829f6108.tar.bz2
gentoo-2-0cbad07141ffeb7a34e4c7db6f8c5d4f829f6108.zip
build with ncurses[tinfo] (bug #529742)
(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-arcade/aop')
-rw-r--r--games-arcade/aop/ChangeLog6
-rw-r--r--games-arcade/aop/aop-0.6.ebuild15
-rw-r--r--games-arcade/aop/files/aop-0.6-as-needed.patch2
3 files changed, 14 insertions, 9 deletions
diff --git a/games-arcade/aop/ChangeLog b/games-arcade/aop/ChangeLog
index fba4b4a6f13d..46f86a751ba0 100644
--- a/games-arcade/aop/ChangeLog
+++ b/games-arcade/aop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/aop
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/ChangeLog,v 1.11 2014/08/10 21:21:40 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/ChangeLog,v 1.12 2014/11/19 03:15:38 mr_bones_ Exp $
+
+ 19 Nov 2014; Michael Sterrett <mr_bones_@gentoo.org> aop-0.6.ebuild,
+ files/aop-0.6-as-needed.patch:
+ build with ncurses[tinfo] (bug #529742)
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> aop-0.6.ebuild:
QA: drop trailing '.' from DESCRIPTION
diff --git a/games-arcade/aop/aop-0.6.ebuild b/games-arcade/aop/aop-0.6.ebuild
index d7008123a902..aaf306ec7f0c 100644
--- a/games-arcade/aop/aop-0.6.ebuild
+++ b/games-arcade/aop/aop-0.6.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/aop-0.6.ebuild,v 1.14 2014/08/10 21:21:40 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/aop-0.6.ebuild,v 1.15 2014/11/19 03:15:38 mr_bones_ Exp $
-EAPI=2
+EAPI=5
inherit eutils games
DESCRIPTION="Ambassador of Pain is a curses based game with only 64 lines of code"
@@ -14,19 +14,20 @@ SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE=""
-DEPEND="sys-libs/ncurses"
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
src_prepare() {
sed -i \
-e "s#/usr/local/share#${GAMES_DATADIR}#" \
- aop.c \
- || die "sed failed"
+ aop.c || die
epatch "${FILESDIR}"/${P}-as-needed.patch
}
src_install() {
- dogamesbin aop || die "dogamesbin failed"
+ dogamesbin aop
insinto "${GAMES_DATADIR}/${PN}"
- doins aop-level-*.txt || die "doins failed"
+ doins aop-level-*.txt
prepgamesdirs
}
diff --git a/games-arcade/aop/files/aop-0.6-as-needed.patch b/games-arcade/aop/files/aop-0.6-as-needed.patch
index 59206bca10f1..5d70e2b01af4 100644
--- a/games-arcade/aop/files/aop-0.6-as-needed.patch
+++ b/games-arcade/aop/files/aop-0.6-as-needed.patch
@@ -3,7 +3,7 @@
@@ -1,5 +1,5 @@
-LDFLAGS = -lncurses
-+LDLIBS = -lncurses
++LDLIBS := $(shell pkg-config ncurses --libs)
aop: aop.c