summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 03:04:55 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 03:17:27 -0500
commit81f45df63edf53aa496c08f66b933f39b298e954 (patch)
treebeb86da0840574f918e1284b87764b414ea897f9 /media-libs/ftgl
parentEAPI=5; respect CXX (diff)
downloadgentoo-81f45df63edf53aa496c08f66b933f39b298e954.tar.gz
gentoo-81f45df63edf53aa496c08f66b933f39b298e954.tar.bz2
gentoo-81f45df63edf53aa496c08f66b933f39b298e954.zip
EAPI=5; minor tidying
Package-Manager: portage-2.2.24
Diffstat (limited to 'media-libs/ftgl')
-rw-r--r--media-libs/ftgl/ftgl-2.1.3_rc5.ebuild22
1 files 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 c34e22fc8d36..bcd6d71bae68 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
}