[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/21: gnu: linux-pam: Allow compilation on GNU/Hurd.
From: |
guix-commits |
Subject: |
16/21: gnu: linux-pam: Allow compilation on GNU/Hurd. |
Date: |
Thu, 30 Mar 2023 06:47:02 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 83125dbc94aa1bb110d170d46ed70b8fdbd5f15e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Mar 26 21:58:49 2023 +0200
gnu: linux-pam: Allow compilation on GNU/Hurd.
* gnu/packages/linux.scm (linux-pam)[arguments]: Add #:phases.
---
gnu/packages/linux.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4bc547e832..fb29730bf3 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1824,6 +1824,16 @@ which need to be installed separately.")
#~("--disable-nis")
#~()))
+ #:phases (if (target-hurd?)
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-pam-limits
+ (lambda _
+ ;; 'pam_limits.c' uses <sys/prctl.h>, which is
+ ;; Linux-specific. Skip it on GNU/Hurd.
+ (substitute* "modules/Makefile.in"
+ (("pam_limits") "")))))
+ #~%standard-phases)
+
;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
;; isn't available.
#:tests? #f))
- branch core-updates updated (d9dc32b871 -> 35b208cb22), guix-commits, 2023/03/30
- 01/21: gnu: glibc: Work around broken GNU Mach header detection., guix-commits, 2023/03/30
- 06/21: gnu: cross-base: Removed useless inputs to xhurd-core-headers., guix-commits, 2023/03/30
- 08/21: gnu: gnumach: Update to 1.8+git20220827., guix-commits, 2023/03/30
- 02/21: gnu: cross-base: Use gexps for 'cross-gcc-arguments'., guix-commits, 2023/03/30
- 10/21: gnu: hurd: Remove useless glibc/hurd-headers input., guix-commits, 2023/03/30
- 11/21: gnu: gnumach, hurd-headers, hurd: Switch to using cross-mig., guix-commits, 2023/03/30
- 13/21: gnu: mig/32-bit: Remove., guix-commits, 2023/03/30
- 09/21: gnu: hurd: Update to 3ff7053., guix-commits, 2023/03/30
- 16/21: gnu: linux-pam: Allow compilation on GNU/Hurd.,
guix-commits <=
- 18/21: gnu: guile: Switch to gexps., guix-commits, 2023/03/30
- 04/21: gnu: cross-base: Factor out cross-mig., guix-commits, 2023/03/30
- 14/21: system: hurd: Use shepherd-0.8 in the package list., guix-commits, 2023/03/30
- 15/21: gnu: linux-pam: Switch to gexps., guix-commits, 2023/03/30
- 12/21: gnu: hurd: Update DDE and use libdde_linux26., guix-commits, 2023/03/30
- 17/21: gnu: guile-static: Switch to gexps., guix-commits, 2023/03/30
- 21/21: maint: Re-add IceCat to '%system-packages'., guix-commits, 2023/03/30
- 05/21: gnu: cross-base: Add cross arguments to hurd derivatives., guix-commits, 2023/03/30
- 03/21: gnu: gcc@11: Patch libpthread on GNU/Hurd., guix-commits, 2023/03/30
- 07/21: gnu: mig: Update to 1.8+git20220827., guix-commits, 2023/03/30