summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2021-03-05 18:37:39 +0900
committerGitHub <noreply@github.com>2021-03-05 10:37:39 +0100
commit97afb34ac364f100fd9472d0029ae10f6147ddc0 (patch)
treee747379d9ca245b0c24ec8e8efb2339668eda706
parentdc275e1f834d0e29c41236024a20d1a98cb3405f (diff)
downloadspack-97afb34ac364f100fd9472d0029ae10f6147ddc0.tar.gz
spack-97afb34ac364f100fd9472d0029ae10f6147ddc0.tar.bz2
spack-97afb34ac364f100fd9472d0029ae10f6147ddc0.tar.xz
spack-97afb34ac364f100fd9472d0029ae10f6147ddc0.zip
keepalived: add --with-systemdsystemunitdir option (#22098)
-rw-r--r--var/spack/repos/builtin/packages/keepalived/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/keepalived/package.py b/var/spack/repos/builtin/packages/keepalived/package.py
index 68377d67fc..1097d54ce2 100644
--- a/var/spack/repos/builtin/packages/keepalived/package.py
+++ b/var/spack/repos/builtin/packages/keepalived/package.py
@@ -26,3 +26,8 @@ class Keepalived(AutotoolsPackage):
version('2.0.11', sha256='a298b0c02a20959cfc365b62c14f45abd50d5e0595b2869f5bce10ec2392fa48')
depends_on('openssl')
+
+ def configure_args(self):
+ args = ["--with-systemdsystemunitdir=" +
+ self.spec['keepalived'].prefix.lib.systemd.system]
+ return args