diff options
author | 2018-08-03 14:21:54 +0100 | |
---|---|---|
committer | 2018-08-03 14:32:11 +0100 | |
commit | 9db2ef6f8d5226898586b31ea23e58c58d682a3e (patch) | |
tree | 81fa6fff40cc49eba4980d0df8235ee9691598f6 /sci-libs/libgeotiff | |
parent | sys-kernel/gentoo-sources: Linux patch 4.14.60 (diff) | |
download | gentoo-9db2ef6f8d5226898586b31ea23e58c58d682a3e.tar.gz gentoo-9db2ef6f8d5226898586b31ea23e58c58d682a3e.tar.bz2 gentoo-9db2ef6f8d5226898586b31ea23e58c58d682a3e.zip |
sci-libs/libgeotiff: remove not needed ewarn message
- EAPI 6 bump
- remove eutils
- Remove not needed ewarn messages
- Add missing dies
Closes: https://bugs.gentoo.org/546618
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sci-libs/libgeotiff')
-rw-r--r-- | sci-libs/libgeotiff/libgeotiff-1.4.1-r1.ebuild (renamed from sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild) | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild b/sci-libs/libgeotiff/libgeotiff-1.4.1-r1.ebuild index d2e161b24ea7..d30e21eb05f2 100644 --- a/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild +++ b/sci-libs/libgeotiff/libgeotiff-1.4.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit autotools eutils +inherit autotools MY_P=${P/_rc/RC} @@ -30,7 +30,7 @@ S=${WORKDIR}/${MY_P/RC*/} DOCS=( README ChangeLog ) src_prepare() { - epatch_user + default sed -i \ -e "s:-O3::g" \ configure.ac || die @@ -40,7 +40,7 @@ src_prepare() { src_configure() { econf \ $(use_enable static-libs static) \ - --enable-debug=$(use debug && echo yes || echo no) \ + --enable-debug=$(usex debug) \ --with-jpeg="${EPREFIX}"/usr/ \ --with-zip="${EPREFIX}"/usr/ @@ -49,8 +49,8 @@ src_compile() { default if use doc; then - mkdir -p docs/api - cp "${FILESDIR}"/Doxyfile Doxyfile + mkdir -p docs/api || die + cp "${FILESDIR}"/Doxyfile Doxyfile || die doxygen -u Doxyfile || die "updating doxygen config failed" doxygen Doxyfile || die "docs generation failed" fi @@ -60,14 +60,5 @@ src_install() { default use doc && dohtml docs/api/* - prune_libtool_files -} - -pkg_postinst() { - echo - ewarn "You should rebuild any packages built against ${PN} by running:" - ewarn "# revdep-rebuild" - ewarn "or using preserved-rebuild features of portage-2.2:" - ewarn "# emerge @preserved-rebuild" - echo + find "${D}" -name '*.la' -delete || die } |