media-libs/ilmbase: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 15:43:18 +0000 (11:43 -0400)
committerAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 20:10:15 +0000 (16:10 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

media-libs/ilmbase/files/ilmbase-1.0.0-asneeded.patch
media-libs/ilmbase/files/ilmbase-1.0.2-gcc43.patch
media-libs/ilmbase/ilmbase-1.0.2.ebuild

index dc69fb983636c5d70c9c996b3ed77bd5fa602071..a3953efd3513bedaabba068b431a2457a827c3e4 100644 (file)
@@ -1,5 +1,5 @@
---- IlmThread/Makefile.in
-+++ IlmThread/Makefile.in
+--- a/IlmThread/Makefile.in
++++ b/IlmThread/Makefile.in
 @@ -209,7 +209,7 @@
                          IlmThreadMutexPosix.cpp
  
index d822092254d8579cbe644f88782d63721fc71b5d..a4e186058fe87421fcda7ef85b0674de73254f38 100644 (file)
@@ -1,5 +1,5 @@
---- Imath/ImathMatrix.h
-+++ Imath/ImathMatrix.h
+--- a/Imath/ImathMatrix.h
++++ b/Imath/ImathMatrix.h
 @@ -37,6 +37,8 @@
  #ifndef INCLUDED_IMATHMATRIX_H
  #define INCLUDED_IMATHMATRIX_H
index eb979ea8ca4c45cac5bcefd96b1f4ac23a52aeb3..b92d275e1df2b3cb4d2ca707507302fb0c5af4ac 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils libtool
+EAPI=6
+inherit libtool
 
 DESCRIPTION="OpenEXR ILM Base libraries"
 HOMEPAGE="http://openexr.com/"
@@ -16,20 +16,22 @@ IUSE="static-libs"
 RDEPEND="!<media-libs/openexr-1.5.0"
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}/${PN}-1.0.0-asneeded.patch"
+       "${FILESDIR}/${P}-gcc43.patch"
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-1.0.0-asneeded.patch \
-               "${FILESDIR}"/${P}-gcc43.patch
+       default
        elibtoolize
 }
 
 src_configure() {
        econf \
-               --disable-dependency-tracking \
                $(use_enable static-libs static)
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die
-       dodoc AUTHORS ChangeLog NEWS README
-       find "${D}" -name '*.la' -delete
+       default
+       find "${D}" -name '*.la' -delete || die "Pruning failed"
 }