From f755aa3f7ac7a413d8fcc35b1264aff813cd9313 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 25 May 2013 20:12:26 +0200 Subject: gnu: ncurses, readline: Allow cross-compilation. * gnu/packages/ncurses.scm (ncurses): Add `cross-pre-install-phase'. Use different phases when (%current-target-system) is true. * gnu/packages/readline.scm (readline): Use %standard-cross-phases as the base when (%current-target-system) is true. --- gnu/packages/readline.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/readline.scm') diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm index 8857666fcc..1fb4376971 100644 --- a/gnu/packages/readline.scm +++ b/gnu/packages/readline.scm @@ -61,7 +61,9 @@ #:phases (alist-cons-after 'install 'post-install ,post-install-phase - %standard-phases))) + ,(if (%current-target-system) + '%standard-cross-phases + '%standard-phases)))) (synopsis "Edit command lines while typing, with history support") (description "The GNU Readline library provides a set of functions for use by -- cgit v1.2.3