net-misc/libreswan: fix WatchDogSec with systemd disabled
authorMike Gilbert <floppym@gentoo.org>
Thu, 25 Aug 2016 21:49:29 +0000 (17:49 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 25 Aug 2016 21:49:50 +0000 (17:49 -0400)
Package-Manager: portage-2.3.0_p22

net-misc/libreswan/libreswan-3.18.ebuild
net-misc/libreswan/libreswan-9999.ebuild

index 847bec8c6629e7739c6427788a031e9cedc8d828..499660655c49b4a80bb0ef9074679a4daf9cb302 100644 (file)
@@ -72,6 +72,7 @@ src_configure() {
        export USE_LIBCURL=$(usetf curl)
        export USE_LDAP=$(usetf ldap)
        export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
+       export SD_WATCHDOGSEC=$(usex systemd 200 0)
        export USE_XAUTHPAM=$(usetf pam)
        export DEBUG_CFLAGS=
        export OPTIMIZE_CFLAGS=
index 847bec8c6629e7739c6427788a031e9cedc8d828..499660655c49b4a80bb0ef9074679a4daf9cb302 100644 (file)
@@ -72,6 +72,7 @@ src_configure() {
        export USE_LIBCURL=$(usetf curl)
        export USE_LDAP=$(usetf ldap)
        export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
+       export SD_WATCHDOGSEC=$(usex systemd 200 0)
        export USE_XAUTHPAM=$(usetf pam)
        export DEBUG_CFLAGS=
        export OPTIMIZE_CFLAGS=