summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-04-15 15:00:41 +0200
committerJeroen Roovers <jer@gentoo.org>2017-04-15 15:00:41 +0200
commit3fc00f135e66dc82d84bf4b03da12846a934016e (patch)
tree06ba70a828dfb6e170a5d3b271517424044e45fa /media-gfx/farbfeld/farbfeld-9999.ebuild
parentx11-misc/xlockmore: Stable for HPPA too. (diff)
downloadgentoo-3fc00f135e66dc82d84bf4b03da12846a934016e.tar.gz
gentoo-3fc00f135e66dc82d84bf4b03da12846a934016e.tar.bz2
gentoo-3fc00f135e66dc82d84bf4b03da12846a934016e.zip
media-gfx/farbfeld: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-gfx/farbfeld/farbfeld-9999.ebuild')
-rw-r--r--media-gfx/farbfeld/farbfeld-9999.ebuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/media-gfx/farbfeld/farbfeld-9999.ebuild b/media-gfx/farbfeld/farbfeld-9999.ebuild
index a0cf3c93adb1..1d283868c3ac 100644
--- a/media-gfx/farbfeld/farbfeld-9999.ebuild
+++ b/media-gfx/farbfeld/farbfeld-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit git-r3 toolchain-funcs
DESCRIPTION="farbfeld simple image format tools"
@@ -15,25 +15,28 @@ KEYWORDS=""
RDEPEND="
media-libs/libjpeg-turbo
media-libs/libpng:*
- media-libs/lcms:2
"
DEPEND="
${RDEPEND}
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3-as-needed.patch
+)
src_prepare() {
- sed config.mk \
+ default
+
+ sed -i \
-e '/^CC/d' \
-e 's|/usr/local|/usr|g' \
-e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall -Wextra $(INCS) $(CPPFLAGS)|g' \
-e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \
-e 's|{|(|g;s|}|)|g' \
- -i || die
+ config.mk || die
- sed Makefile \
- -e 's|{|(|g;s|}|)|g' \
- -e 's|^ @| |g' \
- -i || die
+ sed -i \
+ -e '/[a-z]-LDFLAGS/s| = | += |g' \
+ Makefile || die
}
src_compile() {