man-db: Don't use DESTDIR (#31492)

This commit is contained in:
Harmen Stoppels 2022-07-10 21:41:55 +02:00 committed by GitHub
parent 2159ce036e
commit 92dfe7f25b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)