diff options
Diffstat (limited to 'media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild')
-rw-r--r-- | media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild b/media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild index aa180059c55b..2aebe771a58b 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" @@ -11,18 +10,21 @@ SRC_URI="http://homepage3.nifty.com/slokar/fb/${P}.tar.gz" LICENSE="w3m BSD" SLOT="0" -KEYWORDS="~amd64 x86 ppc" +KEYWORDS="~amd64 ppc x86" 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 } |