diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-12-15 16:35:26 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-12-15 16:35:26 +0100 |
commit | d008415219df27f0b0ab000ceed12226183cd9b2 (patch) | |
tree | 83debd8ecf8b08bd89646d36c251b8755da1b2c6 /distro | |
parent | c1c94acf3206a086358e2ea39aa011c8299d29e5 (diff) |
build-system/gnu: Patch shebangs in executable source files.
This allows many packages to build in a chroot that lacks /bin and
thus /bin/sh.
* guix/build/gnu-build-system.scm (patch-source-shebangs): New
procedure.
(%standard-phases): Add it.
* guix/build/utils.scm (executable-file?): New procedure.
* distro/packages/perl.scm (perl): Don't use /bin/sh to run `Configure'.
Diffstat (limited to 'distro')
-rw-r--r-- | distro/packages/perl.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distro/packages/perl.scm b/distro/packages/perl.scm index b17342f7ad..26b25b154d 100644 --- a/distro/packages/perl.scm +++ b/distro/packages/perl.scm @@ -55,7 +55,7 @@ (("/bin/pwd") pwd)) (zero? - (system* "/bin/sh" "./Configure" + (system* "./Configure" (string-append "-Dprefix=" out) (string-append "-Dman1dir=" out "/share/man/man1") (string-append "-Dman3dir=" out "/share/man/man3") |