diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-07-17 23:51:24 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-07-17 23:52:32 +0200 |
commit | b1943d6833bb67144ab2865373c521f10ab52843 (patch) | |
tree | 04dd8c1f24e82dba10aad35dc271609df047beb7 /games-puzzle | |
parent | sys-cluster/keepalived: bump to 2.0.17 (diff) | |
download | gentoo-b1943d6833bb67144ab2865373c521f10ab52843.tar.gz gentoo-b1943d6833bb67144ab2865373c521f10ab52843.tar.bz2 gentoo-b1943d6833bb67144ab2865373c521f10ab52843.zip |
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@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/tint/tint-0.03b-r1.ebuild | 9 |
1 files 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 4b2d9dc72843..bd16b91c4bbf 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" } |