gnu: ldb: Remove reference to crypt.

* gnu/packages/samba.scm (ldb): Remove reference to crypt header.

Change-Id: Idcf43ff9b140d5c7e601d853564833525396e565
This commit is contained in:
Josselin Poiret 2024-02-18 12:07:43 +01:00
parent bfbe26989b
commit c0aafa2206
No known key found for this signature in database
GPG key ID: 505E40B916171A8A

View file

@ -451,6 +451,14 @@ (define-public ldb
#:tests? (assoc-ref %build-inputs "lmdb")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-crypt-reference
;; The following is needed because Python.h propagates
;; HAVE_CRYPT_H, which is then seen from lib/replace/ but talloc
;; doesn't need it at all.
(lambda _
(substitute* "lib/replace/replace.h"
(("#include <crypt.h>")
""))))
(replace 'configure
;; ldb use a custom configuration script that runs waf.
(lambda* (#:key outputs #:allow-other-keys)