aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-08-17 15:44:43 +0200
committerLudovic Courtès <ludo@gnu.org>2013-08-17 15:44:43 +0200
commitc134056a9b830f3e3bf0b1ba84b0d67a21be096f (patch)
tree8c9510c8dd2e498bf3350c5b53f502807fd28b6f /gnu/packages/linux.scm
parent10d3ab10733221e9c61bd64a617adf7c8c08498a (diff)
downloadpatches-c134056a9b830f3e3bf0b1ba84b0d67a21be096f.tar
patches-c134056a9b830f3e3bf0b1ba84b0d67a21be096f.tar.gz
gnu: linux-pam: Install headers under $includedir/security.
* gnu/packages/linux.scm (linux-pam): Add `--includedir' configure flag.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm12
1 files 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 @@
;; ("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