aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Moore <lockbox@struct.foo>2024-12-22 12:08:17 -0500
committer宋文武 <iyzsong@member.fsf.org>2024-12-24 13:03:09 +0800
commit33febb9b4e3c6d9a6093c600653c021ee1d610a4 (patch)
tree7ce2cfe7e38ac1e3afe0d76c392cae1e3861a25a /gnu/packages/nettle.scm
parent902050757efe6f13e648bd041314b582950c5aad (diff)
downloadguix-33febb9b4e3c6d9a6093c600653c021ee1d610a4.tar.gz
guix-33febb9b4e3c6d9a6093c600653c021ee1d610a4.zip
gnu: cifs-utils: Update to 7.1.
* gnu/packages/samba.scm (cifs-utils): Update to 7.1. Change-Id: Icfb3ca7e691928a443f54e127612f32321bdd721 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/nettle.scm')
0 files changed, 0 insertions, 0 deletions
(string-append bash "/bin/sh")))
#t)))
- (add-after 'patch-source-shebangs 'restore-ltmain-shebang
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "build-aux/ltmain.in"
- (("^#!.*/bin/sh$") "#!/bin/sh"))
- #t)))))
+ ;; These files may be copied into source trees by libtoolize,
+ ;; therefore they must not point to store file names that would be
+ ;; leaked with tarballs generated by make dist.
+ (add-after 'install 'restore-build-aux-shebang
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (dir (string-append out "/share/libtool/build-aux")))
+ (for-each (lambda (file)
+ (format #t "restoring shebang on `~a'~%" file)
+ (substitute* file
+ (("^#!.*/bin/sh") "#!/bin/sh")))
+ (find-files dir ".*"))
+ #t))))))
(synopsis "Generic shared library support tools")
(description