mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/libcaca: avoid mixing ncurses with ncursesw
Also only do this with USE=ncurses and use || die (fixes runtime with mpv wrt bug #825058) Closes: https://bugs.gentoo.org/825058 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -89,8 +89,8 @@ src_prepare() {
|
||||
# bug #653400
|
||||
append-cxxflags -std=c++11
|
||||
|
||||
# bug #601902
|
||||
append-libs "$($(tc-getPKG_CONFIG) --libs ncurses)"
|
||||
# bug #601902, bug #825058
|
||||
use ncurses && append-libs $($(tc-getPKG_CONFIG) --libs tinfow || die)
|
||||
|
||||
# fix docs install path, bug 543870#c14
|
||||
sed -i "s/libcaca-dev/${PF}/g" doc/Makefile.am || die
|
||||
Reference in New Issue
Block a user