commit:     3a9ddc002c62c45e4b1d3945c6701fe355e9540d
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Sun May 20 22:54:23 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun May 27 21:59:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9ddc00

dev-libs/polylib: git-2->git-r3, EAPI 0->6

Also dropped unneeded patch (upstream code has this header included
without need for the patch any longer.) eutils no longer required.

Package-Manager: Portage-2.3.38, Repoman-2.3.9
Signed-off-by: Johannes Huber <johu <AT> gentoo.org>

 dev-libs/polylib/files/polylib-9999-headers.patch | 10 ----------
 dev-libs/polylib/polylib-9999.ebuild              | 16 +++++++---------
 2 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/dev-libs/polylib/files/polylib-9999-headers.patch 
b/dev-libs/polylib/files/polylib-9999-headers.patch
deleted file mode 100644
index 69b7b271a92..00000000000
--- a/dev-libs/polylib/files/polylib-9999-headers.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/applications/ehrhart_union.c
-+++ b/applications/ehrhart_union.c
-@@ -1,6 +1,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
-+#include <unistd.h>
- 
- #include <polylib/polylib.h>
- 

diff --git a/dev-libs/polylib/polylib-9999.ebuild 
b/dev-libs/polylib/polylib-9999.ebuild
index 63e1058b6a8..030fb2d7195 100644
--- a/dev-libs/polylib/polylib-9999.ebuild
+++ b/dev-libs/polylib/polylib-9999.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=6
+
+inherit autotools git-r3
 
 EGIT_REPO_URI="git://repo.or.cz/${PN}.git
        http://repo.or.cz/r/${PN}.git";
-EGIT_BOOTSTRAP="eautoreconf && cd cln && eautoreconf"
-inherit git-2 autotools eutils
 
 DESCRIPTION="ppl port of cloog"
 HOMEPAGE="http://icps.u-strasbg.fr/polylib/";
@@ -16,15 +16,13 @@ SLOT="0"
 KEYWORDS=""
 IUSE=""
 
-src_unpack() {
-       git-2_src_unpack
-       cd "${S}"
-       epatch "${FILESDIR}"/${P}-headers.patch
-       # strip LDFLAGS from pkgconfig .pc file
+src_prepare() {
+       default
+       eautoreconf
        sed -i '/Libs:/s:@LDFLAGS@::' configure
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die
+       default
        dodoc doc/Changes
 }

Reply via email to