From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QkWhn-0002Ge-UC for garchives@archives.gentoo.org; Sat, 23 Jul 2011 07:33:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F28B21C089; Sat, 23 Jul 2011 07:32:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E457421C089 for ; Sat, 23 Jul 2011 07:32:51 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6EDC31BC017 for ; Sat, 23 Jul 2011 07:32:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 7E3808003D for ; Sat, 23 Jul 2011 07:32:50 +0000 (UTC) From: "Kacper Kowalik" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kacper Kowalik" Message-ID: Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/path64/ X-VCS-Repository: proj/sci X-VCS-Files: dev-lang/path64/ChangeLog dev-lang/path64/path64-9999.ebuild X-VCS-Directories: dev-lang/path64/ X-VCS-Committer: xarthisius X-VCS-Committer-Name: Kacper Kowalik X-VCS-Revision: d1e3dfccf86ee0653e38964400a8c6c501fac414 Date: Sat, 23 Jul 2011 07:32:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 0c8c66c8f2e906df1d91a881c7befff2 commit: d1e3dfccf86ee0653e38964400a8c6c501fac414 Author: Kacper Kowalik (Xarthisius) gentoo org= > AuthorDate: Sat Jul 23 07:32:44 2011 +0000 Commit: Kacper Kowalik gentoo org> CommitDate: Sat Jul 23 07:32:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Dd1e3dfcc [dev-lang/path64] Promote native to prefereed, add assembler flag (not wo= rking at the moment), remove needless dep on gcc for native --- dev-lang/path64/ChangeLog | 4 ++++ dev-lang/path64/path64-9999.ebuild | 11 +++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/dev-lang/path64/ChangeLog b/dev-lang/path64/ChangeLog index ebea2b7..53e690c 100644 --- a/dev-lang/path64/ChangeLog +++ b/dev-lang/path64/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 23 Jul 2011; Kacper Kowalik path64-9999.ebuild= : + Promote native to prefereed, add assembler flag (not working at the mo= ment), + remove needless dep on gcc for native + 20 Jul 2011; Kacper Kowalik path64-9999.ebuild= , metadata.xml: Add fortran,openmp,debugger to IUSE diff --git a/dev-lang/path64/path64-9999.ebuild b/dev-lang/path64/path64-= 9999.ebuild index 34f7adb..5b16548 100644 --- a/dev-lang/path64/path64-9999.ebuild +++ b/dev-lang/path64/path64-9999.ebuild @@ -27,16 +27,16 @@ fi LICENSE=3D"GPL-3" SLOT=3D"0" KEYWORDS=3D"~amd64" -IUSE=3D"custom-cflags debugger fortran native +openmp" +IUSE=3D"assembler custom-cflags debugger fortran +native +openmp" =20 -DEPEND=3D"sys-devel/gcc:4.2[vanilla] +DEPEND=3D"!native? ( sys-devel/gcc:4.2[vanilla] ) native? ( || ( dev-lang/ekopath-bin dev-lang/path64 ) )" RDEPEND=3D"${DEPEND}" =20 pkg_setup() { - [[ $(gcc-version) !=3D 4.2 ]] && \ + if use !native && [[ $(gcc-version) !=3D 4.2 ]] ; then die "To bootstrap Path64 you'll need to use gcc:4.2[vanilla]" - export GCC42_PATH=3D$($(tc-getCC) -print-search-dirs | head -n 1 | cut = -f2- -d' ') + fi } =20 src_unpack() { @@ -79,10 +79,13 @@ src_configure() { export CMAKE_BUILD_TYPE=3DDebug fi mycmakeargs=3D( + -DCMAKE_INSTALL_PREFIX=3D/usr/lib/${PN} -DPATH64_ENABLE_TARGETS=3D"x86_64" -DPATH64_ENABLE_PROFILING=3DON -DPATH64_ENABLE_MATHLIBS=3DON -DPATH64_ENABLE_PATHOPT2=3DOFF + $(cmake-utils_use assembler PATH64_ENABLE_PATHAS) + $(cmake-utils_use assembler PATH64_ENABLE_DEFAULT_PATHAS) $(cmake-utils_use fortran PATH64_ENABLE_FORTRAN) $(cmake-utils_use openmp PATH64_ENABLE_OPENMP) $(cmake-utils_use debugger PATH64_ENABLE_PATHDB)