commit: 81f45df63edf53aa496c08f66b933f39b298e954
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 08:04:55 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 08:17:27 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f45df6
EAPI=5; minor tidying
Package-Manager: portage-2.2.24
media-libs/ftgl/ftgl-2.1.3_rc5.ebuild | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
index c34e22f..bcd6d71 100644
--- a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
+++ b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
@@ -2,8 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
-
+EAPI=5
inherit eutils flag-o-matic autotools
MY_PV=${PV/_/-}
@@ -24,29 +23,26 @@ DEPEND=">=media-libs/freetype-2.0.9
virtual/opengl
virtual/glu
media-libs/freeglut"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P2}
-DOCS="AUTHORS BUGS ChangeLog INSTALL NEWS README TODO
docs/projects_using_ftgl.txt"
-
src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch \
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch \
"${FILESDIR}"/${P}-underlink.patch
-# AT_M4DIR=m4 eautoreconf
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
eautoreconf
}
src_configure() {
strip-flags # ftgl is sensitive - bug #112820
- econf \
- $(use_enable static-libs static)
+ econf $(use_enable static-libs static)
}
src_install() {
- default
- rm -rf "${D}"/usr/share/doc/ftgl
-
- find "${ED}" -name '*.la' -exec rm -f {} +
+ DOCS="AUTHORS BUGS ChangeLog NEWS README TODO
docs/projects_using_ftgl.txt" \
+ default
+ rm -rf "${D}"/usr/share/doc/ftgl || die
+ prune_libtool_files
}