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 694A859CA3 for ; Thu, 17 Mar 2016 14:45:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7904E07E8; Thu, 17 Mar 2016 14:45:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79607E07E8 for ; Thu, 17 Mar 2016 14:45:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 423B1340B79 for ; Thu, 17 Mar 2016 14:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC94D847 for ; Thu, 17 Mar 2016 14:45:39 +0000 (UTC) From: "Tiziano Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tiziano Müller" Message-ID: <1458225931.eb5d6d5e83c9ce811323f665d72f42c69cc36087.dev-zero@gentoo> Subject: [gentoo-commits] dev/dev-zero:master commit in: sci-chemistry/cp2k/ X-VCS-Repository: dev/dev-zero X-VCS-Files: sci-chemistry/cp2k/cp2k-3.0.ebuild X-VCS-Directories: sci-chemistry/cp2k/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: eb5d6d5e83c9ce811323f665d72f42c69cc36087 X-VCS-Branch: master Date: Thu, 17 Mar 2016 14:45:39 +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: 9e6518b8-e051-407e-bcf0-3201e5b693e8 X-Archives-Hash: 1204be5a128031cbd3a39dff2212c111 commit: eb5d6d5e83c9ce811323f665d72f42c69cc36087 Author: Tiziano Müller gentoo org> AuthorDate: Thu Mar 17 14:45:31 2016 +0000 Commit: Tiziano Müller gentoo org> CommitDate: Thu Mar 17 14:45:31 2016 +0000 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=eb5d6d5e sci-chemistry/cp2k: fix some issues with the openmp flag sci-chemistry/cp2k/cp2k-3.0.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sci-chemistry/cp2k/cp2k-3.0.ebuild b/sci-chemistry/cp2k/cp2k-3.0.ebuild index 1d2218c..c589efb 100644 --- a/sci-chemistry/cp2k/cp2k-3.0.ebuild +++ b/sci-chemistry/cp2k/cp2k-3.0.ebuild @@ -18,10 +18,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" -IUSE="+fftw openmp" +IUSE="+fftw +openmp" RDEPEND="virtual/blas - fftw? ( sci-libs/fftw:3.0=[fortran,openmp?,threads] )" + fftw? ( openmp? ( sci-libs/fftw:3.0=[fortran,openmp] ) + !openmp? ( sci-libs/fftw:3.0=[fortran,threads] ) )" DEPEND="${RDEPEND} virtual/pkgconfig ${PYTHON_DEPS}" @@ -41,9 +42,9 @@ src_configure() { if use fftw ; then if use openmp ; then - libs+=($(pkg-config --libs fftw3)) - else libs+=($(pkg-config --libs fftw3_omp)) + else + libs+=($(pkg-config --libs fftw3_threads)) fi defines+=(-D__FFTW3) echo ${defines[*]}