diff options
author | Stefan Strogin <steils@gentoo.org> | 2019-08-17 07:40:25 +0300 |
---|---|---|
committer | Stefan Strogin <steils@gentoo.org> | 2019-08-17 07:42:32 +0300 |
commit | a652b0ad3bdc29210b8302ac5b882888daf1b625 (patch) | |
tree | 5f161a70cccaec6b5cbaaf23a15de7e75861089c /games-strategy/dopewars | |
parent | mate-extra/mate-user-share: Bump to 1.22.1 (diff) | |
download | gentoo-a652b0ad3bdc29210b8302ac5b882888daf1b625.tar.gz gentoo-a652b0ad3bdc29210b8302ac5b882888daf1b625.tar.bz2 gentoo-a652b0ad3bdc29210b8302ac5b882888daf1b625.zip |
games-strategy/dopewars: fix building with ncurses[tinfo]
Closes: https://bugs.gentoo.org/690782
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'games-strategy/dopewars')
-rw-r--r-- | games-strategy/dopewars/dopewars-1.5.12-r3.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild b/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild index 4d1c38437619..7da820832395 100644 --- a/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild +++ b/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild @@ -1,8 +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 -inherit desktop + +inherit desktop toolchain-funcs DESCRIPTION="Re-Write of the game Drug Wars" HOMEPAGE="http://dopewars.sourceforge.net/" @@ -36,6 +37,8 @@ src_prepare() { -e "/\/doc\// s:DPDATADIR:\"/usr/share\":" \ -e 's:index.html:html/index.html:' \ src/dopewars.c || die + sed -i -e "s/\-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/g" \ + configure || die } src_configure() { |