gnu: tevent: Remove reference to crypt.

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

Change-Id: Ic99712c9374dee1fd5b65c29327fe39aa10eed35
This commit is contained in:
Josselin Poiret 2024-02-18 12:07:32 +01:00 committed by Ludovic Courtès
parent 19c153c15e
commit d19ddc9450
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -397,6 +397,14 @@ (define-public tevent
(arguments
'(#: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
;; tevent uses a custom configuration script that runs waf.
(lambda* (#:key outputs #:allow-other-keys)