dev-libs/polylib: git-2->git-r3, EAPI 0->6
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 20 May 2018 22:54:23 +0000 (17:54 -0500)
committerJohannes Huber <johu@gentoo.org>
Sun, 27 May 2018 21:59:33 +0000 (23:59 +0200)
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@gentoo.org>
dev-libs/polylib/files/polylib-9999-headers.patch [deleted file]
dev-libs/polylib/polylib-9999.ebuild

diff --git a/dev-libs/polylib/files/polylib-9999-headers.patch b/dev-libs/polylib/files/polylib-9999-headers.patch
deleted file mode 100644 (file)
index 69b7b27..0000000
+++ /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>
index 63e1058b6a88845c75a57d56645ec7d1ee2bfea5..030fb2d719572a661713fa858ee720f0fb72967f 100644 (file)
@@ -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
 }