summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/libfuse/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libfuse/package.py b/var/spack/repos/builtin/packages/libfuse/package.py
index 4f69d2bdcd..90577dba96 100644
--- a/var/spack/repos/builtin/packages/libfuse/package.py
+++ b/var/spack/repos/builtin/packages/libfuse/package.py
@@ -15,6 +15,7 @@ class Libfuse(MesonPackage):
homepage = "https://github.com/libfuse/libfuse"
url = "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz"
+ version('3.10.5', sha256='e73f75e58da59a0e333d337c105093c496c0fd7356ef3a5a540f560697c9c4e6')
version('3.10.4', sha256='bfcb2520fd83db29e9fefd57d3abd5285f38ad484739aeee8e03fbec9b2d984a')
version('3.10.3', sha256='c32527782cef620df58b162aa29901d1fb13253b029375d5860a2253a810344e')
version('3.10.2', sha256='a16f93cc083264afd0d2958a0dc88f24c6c5d40a9f3842c645b1909e13edb75f')
@@ -60,6 +61,13 @@ class Libfuse(MesonPackage):
else:
args.append('-Duseroot=false')
+ if '~system_install' in self.spec:
+ # Fix meson's setup if meson does not have the host system's udev package:
+ args.append('-Dudevrulesdir={0}'.format(self.prefix.etc.rules.d))
+ else:
+ # Likewise, but with +system_install, it may install to /lib/udev/rules.d:
+ args.append('-Dudevrulesdir={0}'.format('/lib/udev/rules.d'))
+
return args
# Before libfuse 3.x this was an autotools package