From patchwork Wed Oct 2 09:58:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 15573 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1F0021749F; Wed, 2 Oct 2019 11:02:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D1FE61749D for ; Wed, 2 Oct 2019 11:02:14 +0100 (BST) Received: from localhost ([::1]:53174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFbSX-0005IJ-IU for patchwork@mira.cbaines.net; Wed, 02 Oct 2019 06:02:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51185) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFbQf-0003rn-RT for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFbQe-0000DT-7T for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFbQe-0000DH-2F for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFbQd-0000aw-WA for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36477] [PATCH v4 17/23] gnu: cmake: Fix cross-compilation. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Oct 2019 10:00:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 36477@debbugs.gnu.org Cc: Pierre-Moana Levesque Received: via spool by 36477-submit@debbugs.gnu.org id=B36477.15700104002011 (code B ref 36477); Wed, 02 Oct 2019 10:00:15 +0000 Received: (at 36477) by debbugs.gnu.org; 2 Oct 2019 10:00:00 +0000 Received: from localhost ([127.0.0.1]:35486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbQO-0000WG-3D for submit@debbugs.gnu.org; Wed, 02 Oct 2019 06:00:00 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:46317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbQC-0000Tj-8V for 36477@debbugs.gnu.org; Wed, 02 Oct 2019 05:59:48 -0400 Received: by mail-wr1-f46.google.com with SMTP id o18so18863254wrv.13 for <36477@debbugs.gnu.org>; Wed, 02 Oct 2019 02:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=91OABdlYn72zL0DZFbIX36KhKVOqZA7+Wim8dmBlUUc=; b=iKF+uzBCkupYjg1Ee0j88G4qBwU812wHjN7dx5WKmpuLMn8oDLIR7h/kSovhvV9ocU hsVJqRqYTJ2WCuJgYhhrAKU8m9f3ZcIZ1sj6XrCPbDdpZqELBmzLBIVNspNSPKJB6O0U Lt4QQohSkYLyzAvIA0ryEClN/osqq9WHY0r2bkezk15KP8AHZP5qziBTdMkTF5dMdOHT iDuJmGl6Do6sDy3pEUWldCexAZCLNZOrHdewpUrkLNujG8YHqkvSqHZGezPHxzJnUhIM QJsSnN1QHVipUnB70Vd7nwLOkPHjqXrH8CrZm90VY59dFz/EPEqRsju4i/AuOV92WKhv XwOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=91OABdlYn72zL0DZFbIX36KhKVOqZA7+Wim8dmBlUUc=; b=puRXxjbuTzP9qLHZqsCDfrUn1t4CRzvb0Cxs3XLNR+0wGHeqEJ/CfZpKpnQeKCEkkO 0vWCal8fcf8tkZevB7e6FqvA/RdqsDFatLlwmBOOAvP0l7L5LidvgIJuEu/vL8CMWRk3 iD3oLfUc2ljQCH5qBeDHOPABiqOexXYAqNiSAXh1xax8DMwPyTYVkx9SZ9Hox2AY1U/H K3T/8uKXsr1E1yaOpGJKBOMdryGZGBuBNPG4JvZ1pjbMckMpqJO7A4h/JKadcXl2riCP /0OP1zN4rMZYQvUcJ1qI5Ul08jhnUfoNms4+uenXfK2uXDynCopnLo0/G6fe0q54jZK7 Rt9A== X-Gm-Message-State: APjAAAVhsLDQQi4nY7uOApSxh3pqHrdzqnAL+ydVVjo5o/v5QMaDncu8 pqcxN5R+lUif6AqEUT04s5txJj1C X-Google-Smtp-Source: APXvYqwAMlw8FKfxTgDkgP1fxkWxb4jcA0nUuFS4755DGByAs926Vlk4EM/35OqDUshXmUeHfJ/L+g== X-Received: by 2002:adf:ef0d:: with SMTP id e13mr2083242wro.300.1570010382396; Wed, 02 Oct 2019 02:59:42 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:fa:a50:21e:67ff:fe5b:4283]) by smtp.gmail.com with ESMTPSA id w12sm29621318wrg.47.2019.10.02.02.59.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Oct 2019 02:59:41 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 2 Oct 2019 11:58:58 +0200 Message-Id: <20191002095904.6325-18-m.othacehe@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191002095904.6325-1-m.othacehe@gmail.com> References: <20191002095904.6325-1-m.othacehe@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Pierre-Moana Levesque * gnu/packages/cmake.scm (cmake-minimal)[inputs]: Move all inputs to ... [native-inputs]: ... here, except for ncurses. --- gnu/packages/cmake.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm index 13252a9486..b9ac84ad7e 100644 --- a/gnu/packages/cmake.scm +++ b/gnu/packages/cmake.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2019 Maxim Cournoyer +;;; Copyright © 2019 Pierre-Moana Levesque ;;; ;;; This file is part of GNU Guix. ;;; @@ -145,16 +146,17 @@ (replace 'configure (lambda* (#:key (configure-flags '()) #:allow-other-keys) (apply invoke "./configure" configure-flags)))))) - (inputs + (native-inputs `(("bzip2" ,bzip2) ("curl" ,curl) ("expat" ,expat) ("file" ,file) ("libarchive" ,libarchive) ("libuv" ,libuv) - ("ncurses" ,ncurses) ; required for ccmake ("rhash" ,rhash) ("zlib" ,zlib))) + (inputs + `(("ncurses" ,ncurses))) ; required for ccmake (native-search-paths (list (search-path-specification (variable "CMAKE_PREFIX_PATH")