commit:     4270b232024ff6dc96ad21c609be5988253fc005
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 16:22:15 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon May 28 23:01:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4270b232

net-p2p/dbhub: bump EAPI

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-p2p/dbhub/dbhub-0.451-r1.ebuild           | 20 ++++++++++----------
 net-p2p/dbhub/files/dbhub-gentoo.patch        |  4 ++--
 net-p2p/dbhub/files/dbhub-no-dynaloader.patch |  4 ++--
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/net-p2p/dbhub/dbhub-0.451-r1.ebuild 
b/net-p2p/dbhub/dbhub-0.451-r1.ebuild
index 7b53906e3d6..167df3c1edb 100644
--- a/net-p2p/dbhub/dbhub-0.451-r1.ebuild
+++ b/net-p2p/dbhub/dbhub-0.451-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit autotools eutils
+EAPI=6
+inherit autotools
 
 DESCRIPTION="Hub software for Direct Connect, fork of opendchub"
 HOMEPAGE="http://www.dbhub.org";
@@ -18,10 +18,14 @@ DEPEND="perl? ( dev-lang/perl )
 
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+       "${FILESDIR}/${PN}-gentoo.patch"
+       "${FILESDIR}/${PN}-no-dynaloader.patch"
+       "${FILESDIR}/${PN}-fix-buffer-overflows.patch"
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-gentoo.patch \
-               "${FILESDIR}"/${PN}-no-dynaloader.patch \
-               "${FILESDIR}"/${PN}-fix-buffer-overflows.patch
+       default
        eautoreconf
 }
 
@@ -32,7 +36,3 @@ src_configure() {
                $(use_enable switch_user) \
                $(use_enable debug)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-}

diff --git a/net-p2p/dbhub/files/dbhub-gentoo.patch 
b/net-p2p/dbhub/files/dbhub-gentoo.patch
index 6e992cdb012..509db33e61a 100644
--- a/net-p2p/dbhub/files/dbhub-gentoo.patch
+++ b/net-p2p/dbhub/files/dbhub-gentoo.patch
@@ -1,5 +1,5 @@
---- configure.ac
-+++ configure.ac
+--- a/configure.ac
++++ b/configure.ac
 @@ -115,7 +115,7 @@
                AC_MSG_CHECKING([Perl LD Objs])
                AC_MSG_RESULT([$perl_ldd])

diff --git a/net-p2p/dbhub/files/dbhub-no-dynaloader.patch 
b/net-p2p/dbhub/files/dbhub-no-dynaloader.patch
index 493b83a2943..f71bb19a0a6 100644
--- a/net-p2p/dbhub/files/dbhub-no-dynaloader.patch
+++ b/net-p2p/dbhub/files/dbhub-no-dynaloader.patch
@@ -1,7 +1,7 @@
 http://bugs.gentoo.org/276928
 
---- configure.ac
-+++ configure.ac
+--- a/configure.ac
++++ b/configure.ac
 @@ -122,7 +122,6 @@
                #endif
                ]])

Reply via email to