From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2BC6F1388C0 for ; Sun, 28 Feb 2016 19:02:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F284721C010; Sun, 28 Feb 2016 19:02:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21883E0810 for ; Sun, 28 Feb 2016 19:02:10 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id ADA25340AC0; Sun, 28 Feb 2016 19:02:07 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: kde@gentoo.org, tommy@gentoo.org Subject: [gentoo-dev] cmake-utils.eclass: fixes to ninja MAKEOPTS conversion Date: Sun, 28 Feb 2016 20:01:56 +0100 Message-Id: <1456686118-28043-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 2.7.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: f7399120-4f4d-40f5-965a-d0f97e818d66 X-Archives-Hash: 3d954f165105319581f331b33b5c3179 Hello, Just a quick two patches against cmake-utils that fix MAKEOPTS->ninja conversion. In particular: 1. -k never takes value in make, so do not account for that, and always convert '-k' to '-k 0', 2. -j and -l have optional values in make, so figure out if we're being passed a correct value and use '-j 9999' and '-l 0' otherwise. -- Best regards, Michał Górny