[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH 03/31] gnu: tcl: Fix cross-compilation.
From: |
Marius Bakke |
Subject: |
[bug#36477] [PATCH 03/31] gnu: tcl: Fix cross-compilation. |
Date: |
Mon, 08 Jul 2019 19:41:03 +0200 |
User-agent: |
Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) |
Mathieu Othacehe <address@hidden> writes:
> * gnu/packages/tcl.scm (tcl)[arguments]: Add configure flags to fix
> cross-compilation.
> ---
> gnu/packages/tcl.scm | 15 +++++++++++----
> 1 file changed, 11 insertions(+), 4 deletions(-)
>
> diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
> index 4840ac4e10..fc955cf649 100644
> --- a/gnu/packages/tcl.scm
> +++ b/gnu/packages/tcl.scm
> @@ -53,7 +53,7 @@
> "0sprsg7wnraa4cbwgbcliylm6p0rspfymxn8ww02pr4ca70v0g64"))))
> (build-system gnu-build-system)
> (arguments
> - '(#:phases (modify-phases %standard-phases
> + `(#:phases (modify-phases %standard-phases
> (add-before 'configure 'pre-configure
> (lambda _ (chdir "unix") #t))
> (add-after 'install 'install-private-headers
> @@ -73,9 +73,16 @@
> ;; PREFIX/share/man. The 'validate-documentation-location' phase is
> ;; not able to fix this up because the default install populates both
> ;; PREFIX/man and PREFIX/share/man.
> - #:configure-flags (list (string-append "--mandir="
> - (assoc-ref %outputs "out")
> - "/share/man"))
> + #:configure-flags
> + (list (string-append "--mandir="
> + (assoc-ref %outputs "out")
> + "/share/man")
> + ;; This is needed when cross-compiling, see:
> + ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719247
> + ,@(if (%current-target-system)
> + '("tcl_cv_strtod_buggy=1"
> + "ac_cv_func_strtod=yes")
> + '()))
OK!
signature.asc
Description: PGP signature
- [bug#36477] Add Guix System cross-compilation support, Mathieu Othacehe, 2019/07/02
- [bug#36477] [PATCH 00/31] Fix cross-compilation issues, Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 01/31] gnu: perl: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 03/31] gnu: tcl: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 03/31] gnu: tcl: Fix cross-compilation.,
Marius Bakke <=
- [bug#36477] [PATCH 05/31] gnu: libxslt: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 02/31] gnu: python: Fix cross compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 06/31] gnu: xorg: Fix cross-compilation of multiple packages., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 09/31] gnu: http-parser: Fix cross-compilation., Mathieu Othacehe, 2019/07/08