diff options
| author | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-22 06:25:20 +0000 |
|---|---|---|
| committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-22 06:25:20 +0000 |
| commit | 0cccc2f52cedd9b0e0646cc4d3ae64a886f2db6b (patch) | |
| tree | d9724175476a27a7234140519e035c8d4c79aedc /gnu/packages/autotools.scm | |
| parent | 22f7d4bce1e694b7ac38e62410d76a6d46d96c5d (diff) | |
| parent | d58e52b0713648dd30d41b41277854a935d8d15a (diff) | |
Merge remote-tracking branch core-updates-frozen into core-updates
Diffstat (limited to 'gnu/packages/autotools.scm')
| -rw-r--r-- | gnu/packages/autotools.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm index 221d4553583..3154e584a20 100644 --- a/gnu/packages/autotools.scm +++ b/gnu/packages/autotools.scm | |||
| @@ -132,7 +132,18 @@ know anything about Autoconf or M4.") | |||
| 132 | (find-files "bin" | 132 | (find-files "bin" |
| 133 | (lambda (file stat) | 133 | (lambda (file stat) |
| 134 | (executable-file? file))))) | 134 | (executable-file? file))))) |
| 135 | #t)))))))) | 135 | #t)) |
| 136 | (add-after 'install 'unpatch-shebangs | ||
| 137 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 138 | ;; Scripts that "autoconf -i" installs (config.guess, | ||
| 139 | ;; config.sub, and install-sh) must use a regular shebang | ||
| 140 | ;; rather than a reference to the store. Restore it. | ||
| 141 | ;; TODO: Move this phase to 'autoconf-2.69'. | ||
| 142 | (let* ((out (assoc-ref outputs "out")) | ||
| 143 | (build-aux (string-append | ||
| 144 | out "/share/autoconf/build-aux"))) | ||
| 145 | (substitute* (find-files build-aux) | ||
| 146 | (("^#!.*/bin/sh") "#!/bin/sh"))))))))))) | ||
| 136 | 147 | ||
| 137 | (define-public autoconf autoconf-2.69) | 148 | (define-public autoconf autoconf-2.69) |
| 138 | 149 | ||
