www-misc/fcgiwrap: Port to EAPI=6
authorMatt Turner <mattst88@gentoo.org>
Sun, 18 Jun 2017 16:06:44 +0000 (09:06 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sun, 18 Jun 2017 16:22:36 +0000 (09:22 -0700)
www-misc/fcgiwrap/fcgiwrap-9999.ebuild

index 7f64c53a10a97cca4877c0e8cf5a6a5c6f584d47..5158f96c498c52347597327da42882800a8739ff 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI="6"
 
 [[ ${PV} = *9999* ]] && VCS_ECLASS="git-r3" || VCS_ECLASS=""
 inherit autotools systemd toolchain-funcs ${VCS_ECLASS}
@@ -46,13 +46,14 @@ src_prepare() {
        sed -i -e '/User/d' systemd/fcgiwrap.service || die
        sed -i -e '/Group/d' systemd/fcgiwrap.service || die
 
+       eapply_user
        eautoreconf
 }
 
 src_configure() {
        econf \
                $(use_with systemd) \
-               "$(systemd_with_unitdir)"
+               --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
 }
 
 pkg_postinst() {