libtirpc: fix krb5 depends and remove --disable-gssapi configure (#17926)

This commit is contained in:
darmac 2020-08-10 02:52:17 +08:00 committed by GitHub
parent 3b8a5dea44
commit 6c4c7c4b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,11 +16,10 @@ class Libtirpc(AutotoolsPackage):
version('1.2.6', sha256='4278e9a5181d5af9cd7885322fdecebc444f9a3da87c526e7d47f7a12a37d1cc') version('1.2.6', sha256='4278e9a5181d5af9cd7885322fdecebc444f9a3da87c526e7d47f7a12a37d1cc')
version('1.1.4', sha256='2ca529f02292e10c158562295a1ffd95d2ce8af97820e3534fe1b0e3aec7561d') version('1.1.4', sha256='2ca529f02292e10c158562295a1ffd95d2ce8af97820e3534fe1b0e3aec7561d')
depends_on('krb5')
provides('rpc') provides('rpc')
# FIXME: build error on macOS # FIXME: build error on macOS
# auth_none.c:81:9: error: unknown type name 'mutex_t' # auth_none.c:81:9: error: unknown type name 'mutex_t'
conflicts('platform=darwin', msg='Does not build on macOS') conflicts('platform=darwin', msg='Does not build on macOS')
def configure_args(self):
return ['--disable-gssapi']