summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-02 21:21:40 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-02 22:46:24 +0100
commit2ea2baf16c63c8f98f5aa5d557a87b5dd53f3423 (patch)
tree12ebbf6e739d56bc03fca4077474ba0276883db1 /distro
parent2aa4fb5f73711e133751c1a9336ec67632a62452 (diff)
downloadpatches-2ea2baf16c63c8f98f5aa5d557a87b5dd53f3423.tar
patches-2ea2baf16c63c8f98f5aa5d557a87b5dd53f3423.tar.gz
distro: acl: Patch references to /bin/sh.
* distro/packages/acl.scm (acl): Add `patch-makefile-SHELL' phase.
Diffstat (limited to 'distro')
-rw-r--r--distro/packages/acl.scm20
1 files changed, 12 insertions, 8 deletions
diff --git a/distro/packages/acl.scm b/distro/packages/acl.scm
index 1c39f2185b..a16ee8f35c 100644
--- a/distro/packages/acl.scm
+++ b/distro/packages/acl.scm
@@ -41,15 +41,19 @@
(build-system gnu-build-system)
(arguments
`(#:phases
- (alist-replace 'check
- (lambda _
- (patch-shebang "test/run")
- (system* "make" "tests" "-C" "test")
+ (alist-cons-after
+ 'configure 'patch-makefile-SHELL
+ (lambda _
+ (patch-makefile-SHELL "include/buildmacros"))
+ (alist-replace
+ 'check
+ (lambda _
+ (system* "make" "tests" "-C" "test")
- ;; XXX: Ignore the test result since this is
- ;; dependent on the underlying file system.
- #t)
- %standard-phases)))
+ ;; XXX: Ignore the test result since this is
+ ;; dependent on the underlying file system.
+ #t)
+ %standard-phases))))
(inputs `(("attr" ,attr)
("gettext" ,guix:gettext)
("perl" ,perl)))