From 92dfe7f25ba7f7e57e10ccc2b2a48c83e35d93d7 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Sun, 10 Jul 2022 21:41:55 +0200 Subject: man-db: Don't use DESTDIR (#31492) --- var/spack/repos/builtin/packages/man-db/package.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/var/spack/repos/builtin/packages/man-db/package.py b/var/spack/repos/builtin/packages/man-db/package.py index 994049d248..8c190f1b55 100644 --- a/var/spack/repos/builtin/packages/man-db/package.py +++ b/var/spack/repos/builtin/packages/man-db/package.py @@ -16,6 +16,7 @@ class ManDb(AutotoolsPackage): git = "https://gitlab.com/cjwatson/man-db" url = "https://download.savannah.nongnu.org/releases/man-db/man-db-2.10.1.tar.xz" + version('2.10.2', sha256='ee97954d492a13731903c9d0727b9b01e5089edbd695f0cdb58d405a5af5514d') version('2.10.1', sha256='2ffd8f2e80122fe72e60c740c851e6a3e15c9a7921185eb4752c1c672824bed6') version('2.7.6.1', sha256='08edbc52f24aca3eebac429b5444efd48b9b90b9b84ca0ed5507e5c13ed10f3f') @@ -36,12 +37,8 @@ class ManDb(AutotoolsPackage): depends_on('xz', type=('build', 'link', 'run')) def configure_args(self): - args = [ + return [ '--disable-setuid', - # defaults to a location that needs root privs to write in - '--with-systemdtmpfilesdir={0}/tmp'.format(self.prefix) + '--without-systemdsystemunitdir', + '--without-systemdtmpfilesdir' ] - return args - - def install(self, spec, prefix): - make('install', 'DESTDIR=%s' % prefix) -- cgit v1.2.3-70-g09d2