From 8be5bc3044b1701976d80385174273e3e089cfbe Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 26 Sep 2024 15:04:07 +0800 Subject: gnu: fnc: fix cross-compiling. * gnu/packages/version-control.scm (fnc)[arguments]<#:phases>: Add don-t-use-install-s phase. Change-Id: I2d0fb7d31055fe5f33706eed6df813c89ff5cc16 --- gnu/packages/version-control.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 15cd5d2db0..c1e9c7e5dd 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -3009,7 +3009,13 @@ modification time.") (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)))) -- cgit v1.2.3