aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/path64/ChangeLog4
-rw-r--r--dev-lang/path64/Manifest4
-rw-r--r--dev-lang/path64/path64-9999.ebuild11
3 files changed, 13 insertions, 6 deletions
diff --git a/dev-lang/path64/ChangeLog b/dev-lang/path64/ChangeLog
index ebea2b7f5..53e690cf6 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: $
+ 23 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> path64-9999.ebuild:
+ Promote native to prefereed, add assembler flag (not working at the moment),
+ remove needless dep on gcc for native
+
20 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> path64-9999.ebuild,
metadata.xml:
Add fortran,openmp,debugger to IUSE
diff --git a/dev-lang/path64/Manifest b/dev-lang/path64/Manifest
index 0b7f3f3eb..25a0cc25f 100644
--- a/dev-lang/path64/Manifest
+++ b/dev-lang/path64/Manifest
@@ -1,3 +1,3 @@
-EBUILD path64-9999.ebuild 2919 RMD160 bcbaac611ff01e4cc0de38dff7ce8fb96c99389a SHA1 cb2f99c75ba37392a7df923abe686cb582433dc6 SHA256 af322c64bed54b7441910d8fa5752d2c1305b577672393e7c7f45febc9c5e30e
-MISC ChangeLog 553 RMD160 8ec12752fc83f49e167ae87b969670151c68ac56 SHA1 20ad3b2f5946d085e2e72bdf1a2793c0c6b73417 SHA256 92192fdb643676d2a231ce4c218ae4addbc03347bfa74c5bdcc550573b61ebc1
+EBUILD path64-9999.ebuild 3037 RMD160 191082cacb08186d18c162e98741f3eba3865730 SHA1 3e77db9a4a44fc8be09ff3dd473f28fc677b4007 SHA256 af1b8bdd6e19b751eb6fcfd2fe406508025e767b3e5353c0c0e332ffd7763408
+MISC ChangeLog 747 RMD160 5dca6f39424d358c59d3d598961d01d658250a00 SHA1 d7406e2785f687589f1bd8d64aa8e14b36f1bc02 SHA256 abd883e797333c00adaf19d68e3c855fe2cc54a00ae1037bb5bb6ed1405fd0bb
MISC metadata.xml 723 RMD160 db0d2917268fd37e631f878b1f03b3d388a4b3f3 SHA1 fe4aaa16e9cb916611384197b4da25309cea3271 SHA256 91d773a1787cd749f0c98ce6bf088bf28e4dab3143d704afb5a7f3114f609c96
diff --git a/dev-lang/path64/path64-9999.ebuild b/dev-lang/path64/path64-9999.ebuild
index 34f7adbff..5b1654815 100644
--- a/dev-lang/path64/path64-9999.ebuild
+++ b/dev-lang/path64/path64-9999.ebuild
@@ -27,16 +27,16 @@ fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="custom-cflags debugger fortran native +openmp"
+IUSE="assembler custom-cflags debugger fortran +native +openmp"
-DEPEND="sys-devel/gcc:4.2[vanilla]
+DEPEND="!native? ( sys-devel/gcc:4.2[vanilla] )
native? ( || ( dev-lang/ekopath-bin dev-lang/path64 ) )"
RDEPEND="${DEPEND}"
pkg_setup() {
- [[ $(gcc-version) != 4.2 ]] && \
+ if use !native && [[ $(gcc-version) != 4.2 ]] ; then
die "To bootstrap Path64 you'll need to use gcc:4.2[vanilla]"
- export GCC42_PATH=$($(tc-getCC) -print-search-dirs | head -n 1 | cut -f2- -d' ')
+ fi
}
src_unpack() {
@@ -79,10 +79,13 @@ src_configure() {
export CMAKE_BUILD_TYPE=Debug
fi
mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX=/usr/lib/${PN}
-DPATH64_ENABLE_TARGETS="x86_64"
-DPATH64_ENABLE_PROFILING=ON
-DPATH64_ENABLE_MATHLIBS=ON
-DPATH64_ENABLE_PATHOPT2=OFF
+ $(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)