From d3b10b04c17a03231a6663aa377aa18640e471ae Mon Sep 17 00:00:00 2001 From: Tomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com> Date: Fri, 5 Mar 2021 18:38:19 +0900 Subject: freeipmi: add --with-systemdsystemunitdir option (#22096) --- var/spack/repos/builtin/packages/freeipmi/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/freeipmi/package.py b/var/spack/repos/builtin/packages/freeipmi/package.py index a1fbbcf5eb..4ec41832e9 100644 --- a/var/spack/repos/builtin/packages/freeipmi/package.py +++ b/var/spack/repos/builtin/packages/freeipmi/package.py @@ -35,6 +35,8 @@ class Freeipmi(AutotoolsPackage): tty.warn("Requires 'root' for bmc-watchdog.service installation to" " /lib/systemd/system/ !") - args = ['--prefix={0}'.format(prefix)] + args = ['--prefix={0}'.format(prefix), + "--with-systemdsystemunitdir=" + + self.spec['freeipmi'].prefix.lib.systemd.system] return args -- cgit v1.2.3-70-g09d2