summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flx/init-openvpn/init-openvpn-2.0.9.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/flx/init-openvpn/init-openvpn-2.0.9.ebuild b/flx/init-openvpn/init-openvpn-2.0.9.ebuild
index 11d6c1a5..bd6e9604 100644
--- a/flx/init-openvpn/init-openvpn-2.0.9.ebuild
+++ b/flx/init-openvpn/init-openvpn-2.0.9.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flx-init-scripts
EGIT_BRANCH="2.0-flx0"
@@ -10,9 +10,7 @@ EGIT_COMMIT="v${PV}-flx0.1"
KEYWORDS="amd64 x86"
RDEPEND=">=net-vpn/openvpn-${PV}"
-src_prepare() {
- default
-
- eapply "${FILESDIR}/${PV}-CLEAN-Delete-leading-whitespaces.patch"
- eapply "${FILESDIR}/${PV}-BASH4-Bash-4-array-prefixing-is-var-not-var.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${PV}-CLEAN-Delete-leading-whitespaces.patch"
+ "${FILESDIR}/${PV}-BASH4-Bash-4-array-prefixing-is-var-not-var.patch"
+)