summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-10-20 18:00:19 +0200
committerPacho Ramos <pacho@gentoo.org>2018-10-20 18:35:38 +0200
commit49c4e24ad6284b415e2479fbb77a6e54037dfe0c (patch)
tree61237cc8dc613b77b52a431ba221ef155470f347 /media-gfx
parentnet-analyzer/bro: Fix multiple QA issues (diff)
downloadgentoo-49c4e24ad6284b415e2479fbb77a6e54037dfe0c.tar.gz
gentoo-49c4e24ad6284b415e2479fbb77a6e54037dfe0c.tar.bz2
gentoo-49c4e24ad6284b415e2479fbb77a6e54037dfe0c.zip
media-gfx/w3mimgfb: Fix linking issues (#655080 by Chris Torske)
Closes: https://bugs.gentoo.org/655080 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild10
1 files 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
}