net-misc/gvrpcd: bump EAPI to 6, add support for user patches
authorSergey Popov <pinkbyte@gentoo.org>
Mon, 17 Jul 2017 11:49:28 +0000 (14:49 +0300)
committerSergey Popov <pinkbyte@gentoo.org>
Mon, 17 Jul 2017 11:51:19 +0000 (14:51 +0300)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

net-misc/gvrpcd/files/gvrpcd-respect-ldflags.patch
net-misc/gvrpcd/gvrpcd-1.3.ebuild

index 0dc9ca6999aad5e42f19fdaf66db109ff2807767..22dde710b0487acdccd6f244b240ce43f89b17b4 100644 (file)
@@ -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
index 06b1f28bc859f1dc856bbd84bda975ef2652ff83..f3f5ec8545958a22bb6d369e12fdc41b2a137d20 100644 (file)
@@ -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() {