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 8B90A13827E for ; Sun, 8 Dec 2013 17:39:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C405EE09C3; Sun, 8 Dec 2013 17:39:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2096FE09C0 for ; Sun, 8 Dec 2013 17:39:27 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C18433F4CA for ; Sun, 8 Dec 2013 17:39:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 7418DE5600 for ; Sun, 8 Dec 2013 17:39:24 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1386524208.09afb7a67f56eddda5a35e26437ca378c2393d09.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/xraylib/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/xraylib/xraylib-2.16.0.ebuild X-VCS-Directories: sci-libs/xraylib/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 09afb7a67f56eddda5a35e26437ca378c2393d09 X-VCS-Branch: master Date: Sun, 8 Dec 2013 17:39:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a8ebff26-2cff-4c53-bf80-c8aeccca8340 X-Archives-Hash: 69fcefeff9efbe47d5af812e8111361e commit: 09afb7a67f56eddda5a35e26437ca378c2393d09 Author: Chris Kerr cam ac uk> AuthorDate: Mon Dec 2 23:37:40 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Dec 8 17:36:48 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=09afb7a6 Workaround for parallel compilation bug with fortran Also Doh! on use_enable not use-enable! --- sci-libs/xraylib/xraylib-2.16.0.ebuild | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/sci-libs/xraylib/xraylib-2.16.0.ebuild b/sci-libs/xraylib/xraylib-2.16.0.ebuild index 113a283..c87f7c2 100644 --- a/sci-libs/xraylib/xraylib-2.16.0.ebuild +++ b/sci-libs/xraylib/xraylib-2.16.0.ebuild @@ -39,17 +39,26 @@ src_prepare() { src_configure() { local myeconfargs=( --disable-idl - $(use-enable fortran fortran2003) - $(use-enable java) - $(use-enable lua) - $(use-enable perl) - $(use-enable perl perl-integration) - $(use-enable php) - $(use-enable php php-integration) - $(use-enable python) - $(use-enable python python-integration) - $(use-enable ruby) - $(use-enable ruby ruby-integration) + $(use_enable fortran fortran2003) + $(use_enable java) + $(use_enable lua) + $(use_enable perl) + $(use_enable perl perl-integration) + $(use_enable php) + $(use_enable php php-integration) + $(use_enable python) + $(use_enable python python-integration) + $(use_enable ruby) + $(use_enable ruby ruby-integration) ) autotools-utils_src_configure } + +src_compile() { + if use fortran + then # see https://github.com/tschoonj/xraylib/issues/11 + emake -j1 + else + emake + fi +} \ No newline at end of file