net-firewall/conntrack-tools: Add IUSE=systemd
authorJeroen Roovers <jer@gentoo.org>
Thu, 2 Apr 2020 14:57:50 +0000 (16:57 +0200)
committerJeroen Roovers <jer@gentoo.org>
Thu, 2 Apr 2020 15:01:00 +0000 (17:01 +0200)
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Bug: https://bugs.gentoo.org/show_bug.cgi?id=621520
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-firewall/conntrack-tools/conntrack-tools-1.4.6.ebuild

index 318d908eeb6496e8e224a1246bf232c555670be1..7b47745263118f75e486a67d397dac42dbe579e1 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI="http://www.netfilter.org/projects/conntrack-tools/files/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~x86"
-IUSE="doc +cthelper +cttimeout"
+IUSE="doc +cthelper +cttimeout systemd"
 
 RDEPEND="
        >=net-libs/libmnl-1.0.3
@@ -25,6 +25,9 @@ RDEPEND="
        cttimeout? (
                >=net-libs/libnetfilter_cttimeout-1.0.0
        )
+       systemd? (
+               >=sys-apps/systemd-227
+       )
 "
 DEPEND="
        ${RDEPEND}
@@ -72,7 +75,8 @@ src_prepare() {
 src_configure() {
        econf \
                $(use_enable cthelper) \
-               $(use_enable cttimeout)
+               $(use_enable cttimeout) \
+               $(use_enable systemd)
 }
 
 src_compile() {