From: Tim Harder Date: Sat, 10 Dec 2016 19:32:14 +0000 (-0500) Subject: media-gfx/pstoedit: update to EAPI 6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6dcaaf484b051e8ae9771fed03ccf9f443c1d675;p=gentoo.git media-gfx/pstoedit: update to EAPI 6 --- diff --git a/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild index 605b09d79e92..6cc89e7bcbae 100644 --- a/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild +++ b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -inherit autotools eutils +inherit autotools DESCRIPTION="Translate PostScript and PDF graphics into other vector formats" HOMEPAGE="https://sourceforge.net/projects/pstoedit/" @@ -28,15 +28,19 @@ DEPEND="${RDEPEND} virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PN}-3.60-libdl.patch + "${FILESDIR}"/${PN}-3.70-pkgconfig.patch +) + src_prepare() { + default + sed -i \ -e '/CXXFLAGS="-g"/d' \ -e 's:-pedantic::' \ configure.ac || die - epatch "${FILESDIR}"/${PN}-3.60-libdl.patch - epatch "${FILESDIR}"/${PN}-3.70-pkgconfig.patch - eautoreconf } @@ -54,7 +58,8 @@ src_install() { default doman doc/pstoedit.1 dodoc doc/*.txt - dohtml doc/*.htm + docinto html + dodoc doc/*.htm find "${ED}" -name '*.la' -delete }