Archived
1
0
Fork 0

gnu: linux-pam: Switch to gexps.

* gnu/packages/linux.scm (linux-pam)[arguments]: Switch to gexps.
This commit is contained in:
Ludovic Courtès 2023-03-26 21:49:55 +02:00
parent fda221c469
commit 1c179980fa
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1804,28 +1804,29 @@ which need to be installed separately.")
;; ("cracklib" ,cracklib) ;; ("cracklib" ,cracklib)
)) ))
(arguments (arguments
`(;; Most users, such as `shadow', expect the headers to be under (list
;; `security'. ;; Most users, such as `shadow', expect the headers to be under
#:configure-flags (list (string-append "--includedir=" ;; `security'.
(assoc-ref %outputs "out") #:configure-flags #~(list (string-append "--includedir="
"/include/security") (assoc-ref %outputs "out")
;; explicit libdir for pkgconfig files "/include/security")
;; drop with 1.5.3, which fixes ;; explicit libdir for pkgconfig files
;; https://github.com/linux-pam/linux-pam/issues/466 ;; drop with 1.5.3, which fixes
(string-append "--libdir=" ;; https://github.com/linux-pam/linux-pam/issues/466
(assoc-ref %outputs "out") (string-append "--libdir="
"/lib") (assoc-ref %outputs "out")
"/lib")
;; XXX: <rpc/rpc.h> is missing from glibc when ;; XXX: <rpc/rpc.h> is missing from glibc when
;; cross-compiling, so we have to disable NIS ;; cross-compiling, so we have to disable NIS
;; support altogether. ;; support altogether.
,@(if (%current-target-system) #$@(if (%current-target-system)
'("--disable-nis") #~("--disable-nis")
'())) #~()))
;; XXX: Tests won't run in chroot, presumably because /etc/pam.d ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
;; isn't available. ;; isn't available.
#:tests? #f)) #:tests? #f))
(home-page "http://www.linux-pam.org/") (home-page "http://www.linux-pam.org/")
(synopsis "Pluggable authentication modules for Linux") (synopsis "Pluggable authentication modules for Linux")
(description (description