summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flx/init-ntp/init-ntp-4.2.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/flx/init-ntp/init-ntp-4.2.ebuild b/flx/init-ntp/init-ntp-4.2.ebuild
index 82d1533f..f2c795d6 100644
--- a/flx/init-ntp/init-ntp-4.2.ebuild
+++ b/flx/init-ntp/init-ntp-4.2.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="4.2-flx0"
@@ -10,11 +10,9 @@ EGIT_COMMIT="v4.2.4p4-flx0.1"
KEYWORDS="amd64 x86"
RDEPEND=">=net-misc/ntp-${PV}"
-src_prepare() {
- default
-
- eapply "${FILESDIR}/${PV}-Fix-indent.patch"
- eapply "${FILESDIR}/${PV}-Remove-handling-ntptimeset.patch"
- eapply "${FILESDIR}/${PV}-Reuse-do_update.patch"
- eapply "${FILESDIR}/${PV}-ntpdate-should-be-present-in-usr-sbin.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${PV}-Fix-indent.patch"
+ "${FILESDIR}/${PV}-Remove-handling-ntptimeset.patch"
+ "${FILESDIR}/${PV}-Reuse-do_update.patch"
+ "${FILESDIR}/${PV}-ntpdate-should-be-present-in-usr-sbin.patch"
+)