From c134056a9b830f3e3bf0b1ba84b0d67a21be096f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Aug 2013 15:44:43 +0200 Subject: [PATCH] gnu: linux-pam: Install headers under $includedir/security. * gnu/packages/linux.scm (linux-pam): Add `--includedir' configure flag. --- gnu/packages/linux.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 3a37f572cb..e434de477e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -235,9 +235,15 @@ (define-public linux-pam ;; ("cracklib" ,cracklib) )) (arguments - ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d - ;; isn't available. - '(#:tests? #f)) + '(;; Most users, such as `shadow', expect the headers to be under + ;; `security'. + #:configure-flags (list (string-append "--includedir=" + (assoc-ref %outputs "out") + "/include/security")) + + ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d + ;; isn't available. + #:tests? #f)) (home-page "http://www.linux-pam.org/") (synopsis "Pluggable authentication modules for Linux") (description