summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/freeipmi/package.py4
1 files changed, 3 insertions, 1 deletions
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