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