gnu: fnc: fix cross-compiling.

* gnu/packages/version-control.scm (fnc)[arguments]<#:phases>: Add
don-t-use-install-s phase.

Change-Id: I2d0fb7d31055fe5f33706eed6df813c89ff5cc16
This commit is contained in:
Zheng Junjie 2024-09-26 15:04:07 +08:00
parent 81c75d5e86
commit 8be5bc3044
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3009,7 +3009,13 @@ (define-public fnc
(arguments
(list
#:phases #~(modify-phases %standard-phases
(delete 'configure))
(delete 'configure)
;; fix cross-compiling.
(add-after 'unpack 'don-t-use-install-s
(lambda _
(substitute* "fnc.bld.mk"
(("install -s")
"install")))))
#:tests? #f ; no tests
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))))