* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/tint/
@ 2015-11-22 2:31 Michael Sterrett
0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett @ 2015-11-22 2:31 UTC (permalink / raw
To: gentoo-commits
commit: 3c6d7d70210f4d1c4300e6dd3a9c9fe98c3d9936
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 02:30:54 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 02:30:54 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6d7d70
use epatch to apply patch
Package-Manager: portage-2.2.20.1
games-puzzle/tint/tint-0.03b.ebuild | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/games-puzzle/tint/tint-0.03b.ebuild b/games-puzzle/tint/tint-0.03b.ebuild
index 0c5d692..e87d716 100644
--- a/games-puzzle/tint/tint-0.03b.ebuild
+++ b/games-puzzle/tint/tint-0.03b.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-inherit games
+inherit eutils games
MY_P=${P/-/_}
DESCRIPTION="Tint Is Not Tetris, a ncurses based clone of the original Tetris(tm) game"
@@ -15,10 +15,12 @@ SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE=""
-DEPEND=">=sys-libs/ncurses-5.4-r1"
-RDEPEND="${DEPEND}"
+DEPEND=">=sys-libs/ncurses-5.4-r1:0"
+RDEPEND=${DEPEND}
-PATCHES=( "${FILESDIR}"/${P}-ovflfix.patch )
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ovflfix.patch
+}
src_compile() {
emake \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/tint/
@ 2019-07-17 21:52 Lars Wendler
0 siblings, 0 replies; 2+ messages in thread
From: Lars Wendler @ 2019-07-17 21:52 UTC (permalink / raw
To: gentoo-commits
commit: b1943d6833bb67144ab2865373c521f10ab52843
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 21:51:24 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 21:52:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1943d68
games-puzzle/tint: Fixed build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/690074
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
games-puzzle/tint/tint-0.03b-r1.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/games-puzzle/tint/tint-0.03b-r1.ebuild b/games-puzzle/tint/tint-0.03b-r1.ebuild
index 4b2d9dc7284..bd16b91c4bb 100644
--- a/games-puzzle/tint/tint-0.03b-r1.ebuild
+++ b/games-puzzle/tint/tint-0.03b-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit toolchain-funcs
MY_P="${P/-/_}"
DESCRIPTION="Tint Is Not Tetris, a ncurses based clone of the original Tetris(tm) game"
@@ -15,14 +17,17 @@ IUSE=""
DEPEND=">=sys-libs/ncurses-5.4-r1:0="
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${P}-ovflfix.patch )
src_compile() {
+ local PKGCONFIG="$(tc-getPKG_CONFIG)"
emake \
STRIP=true \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
+ LDLIBS="$(${PKGCONFIG} --libs ncurses)" \
localstatedir="/var/lib"
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-17 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-22 2:31 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/tint/ Michael Sterrett
-- strict thread matches above, loose matches on Subject: below --
2019-07-17 21:52 Lars Wendler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox