commit:     f597d47d78213b9554e5375a8d815409d4abc654
Author:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 11:49:28 2017 +0000
Commit:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 11:51:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f597d47d

net-misc/gvrpcd: bump EAPI to 6, add support for user patches

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-misc/gvrpcd/files/gvrpcd-respect-ldflags.patch | 4 ++--
 net-misc/gvrpcd/gvrpcd-1.3.ebuild                  | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-misc/gvrpcd/files/gvrpcd-respect-ldflags.patch 
b/net-misc/gvrpcd/files/gvrpcd-respect-ldflags.patch
index 0dc9ca6999a..22dde710b04 100644
--- a/net-misc/gvrpcd/files/gvrpcd-respect-ldflags.patch
+++ b/net-misc/gvrpcd/files/gvrpcd-respect-ldflags.patch
@@ -1,5 +1,5 @@
---- Makefile.orig      2012-09-23 16:31:55.761755338 +0400
-+++ Makefile   2012-09-23 16:32:46.159759345 +0400
+--- a/Makefile 2012-09-23 16:31:55.761755338 +0400
++++ b/Makefile 2012-09-23 16:32:46.159759345 +0400
 @@ -1,4 +1,4 @@
 -LDFLAGS = -lnet
 +LIBS = -lnet

diff --git a/net-misc/gvrpcd/gvrpcd-1.3.ebuild 
b/net-misc/gvrpcd/gvrpcd-1.3.ebuild
index 06b1f28bc85..f3f5ec85459 100644
--- a/net-misc/gvrpcd/gvrpcd-1.3.ebuild
+++ b/net-misc/gvrpcd/gvrpcd-1.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 inherit eutils linux-info toolchain-funcs
 
@@ -12,7 +12,6 @@ 
SRC_URI="http://sokrates.mimuw.edu.pl/~sebek/${PN}/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="net-libs/libnet:1.1"
 RDEPEND="${DEPEND}"
@@ -20,7 +19,8 @@ RDEPEND="${DEPEND}"
 CONFIG_CHECK="~VLAN_8021Q ~VLAN_8021Q_GVRP"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-respect-ldflags.patch
+       eapply "${FILESDIR}/${PN}-respect-ldflags.patch"
+       eapply_user
 }
 
 src_compile() {

Reply via email to