net-proxy/dante: use ltprune instead of eutils
authorTim Harder <radhermit@gentoo.org>
Thu, 31 Aug 2017 13:52:20 +0000 (09:52 -0400)
committerTim Harder <radhermit@gentoo.org>
Thu, 31 Aug 2017 14:30:40 +0000 (10:30 -0400)
net-proxy/dante/dante-1.4.1-r1.ebuild

index 77615caee7ae255432ded8f96e8e1321d5e2cbf6..eeb6feb198a844011cdddb14d4702d6d38cb6516 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools eutils systemd user
+inherit autotools ltprune systemd user
 
 DESCRIPTION="A free socks4,5 and msproxy implementation"
 HOMEPAGE="http://www.inet.no/dante/"
@@ -83,8 +83,8 @@ src_install() {
        insinto /etc/socks
        doins "${FILESDIR}"/sock?.conf
        pushd "${ED}"/etc/socks > /dev/null
-       use pam && epatch "${FILESDIR}"/sockd.conf-with-pam.patch
-       use tcpd && epatch "${FILESDIR}"/sockd.conf-with-libwrap.patch
+       use pam && eapply -p0 "${FILESDIR}"/sockd.conf-with-pam.patch
+       use tcpd && eapply -p0 "${FILESDIR}"/sockd.conf-with-libwrap.patch
        popd > /dev/null
 
        # init script