summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2021-03-10 18:17:50 +0900
committerGitHub <noreply@github.com>2021-03-10 10:17:50 +0100
commit114bc955261c31b21cd4bd67a32910ec7aabe8a8 (patch)
treeadf762aa4d9d42aa6b20623dead98e60ea289b55
parent6da24dee9143a17afff4a2653b83bdb98205c6ea (diff)
downloadspack-114bc955261c31b21cd4bd67a32910ec7aabe8a8.tar.gz
spack-114bc955261c31b21cd4bd67a32910ec7aabe8a8.tar.bz2
spack-114bc955261c31b21cd4bd67a32910ec7aabe8a8.tar.xz
spack-114bc955261c31b21cd4bd67a32910ec7aabe8a8.zip
rsyslog: fix install error (#22207)
-rw-r--r--var/spack/repos/builtin/packages/rsyslog/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/rsyslog/package.py b/var/spack/repos/builtin/packages/rsyslog/package.py
index 23a8cb2575..0e89cd88ef 100644
--- a/var/spack/repos/builtin/packages/rsyslog/package.py
+++ b/var/spack/repos/builtin/packages/rsyslog/package.py
@@ -31,3 +31,8 @@ class Rsyslog(AutotoolsPackage):
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.sbin)
+
+ def configure_args(self):
+ args = ["--with-systemdsystemunitdir=" +
+ self.spec['rsyslog'].prefix.lib.systemd.system]
+ return args