commit: 49c4e24ad6284b415e2479fbb77a6e54037dfe0c Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sat Oct 20 16:00:19 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sat Oct 20 16:35:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c4e24a
media-gfx/w3mimgfb: Fix linking issues (#655080 by Chris Torske) Closes: https://bugs.gentoo.org/655080 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild b/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild index aa180059c55..47def669f9b 100644 --- a/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild +++ b/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 - +EAPI=7 inherit toolchain-funcs DESCRIPTION="Image viewer for w3m under frame buffer environment" @@ -16,13 +15,16 @@ IUSE="" DEPEND="media-libs/stimg" RDEPEND="${DEPEND} - virtual/w3m" + virtual/w3m +" src_prepare() { + default sed \ -e '/^CC/d' \ -e '/^CFLAGS/d' \ -e '/^LDFLAGS/d' \ + -e 's/LIBS= -lstimg/LIBS= -lstimg -lpng -ljpeg -ltiff/g' \ -i Makefile || die tc-export CC }
