net-firewall/firewalld: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 19:50:18 +0000 (21:50 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 20:58:22 +0000 (22:58 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-firewall/firewalld/firewalld-0.4.3.3.ebuild

index f785879fc5f4e0e416f594092590170d4932b9ae..9256aa6700aa5c06806491ca1dd79251b2ed72fe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="gui"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
        dev-python/dbus-python[${PYTHON_USEDEP}]
@@ -49,12 +50,12 @@ src_configure() {
 
        econf \
                --enable-systemd \
-               --with-iptables="${EROOT}/sbin/iptables" \
-               --with-ip6tables="${EROOT}/sbin/ip6tables" \
-               --with-iptables_restore="${EROOT}/sbin/iptables-restore" \
-               --with-ip6tables_restore="${EROOT}/sbin/ip6tables-restore" \
-               --with-ebtables="${EROOT}/sbin/ebtables" \
-               --with-ebtables_restore="${EROOT}/sbin/ebtables-restore" \
+               --with-iptables="${EPREFIX}/sbin/iptables" \
+               --with-ip6tables="${EPREFIX}/sbin/ip6tables" \
+               --with-iptables_restore="${EPREFIX}/sbin/iptables-restore" \
+               --with-ip6tables_restore="${EPREFIX}/sbin/ip6tables-restore" \
+               --with-ebtables="${EPREFIX}/sbin/ebtables" \
+               --with-ebtables_restore="${EPREFIX}/sbin/ebtables-restore" \
                "$(systemd_with_unitdir 'systemd-unitdir')" \
                --with-bashcompletiondir="$(get_bashcompdir)"
 }