summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2009-12-10 17:37:08 +0000
committerJonathan Callen <abcd@gentoo.org>2009-12-10 17:37:08 +0000
commit041a38e3889d21a30931a1300faf01ec36719a6c (patch)
tree87473bba37ea886b9a1256d2ec655dba9d8c215d /dev-cpp
parentx86 stable, bug 292455 (diff)
downloadgentoo-2-041a38e3889d21a30931a1300faf01ec36719a6c.tar.gz
gentoo-2-041a38e3889d21a30931a1300faf01ec36719a6c.tar.bz2
gentoo-2-041a38e3889d21a30931a1300faf01ec36719a6c.zip
Convert mycmakeargs to an array (required due to usage in src_test)
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/eigen/ChangeLog6
-rw-r--r--dev-cpp/eigen/eigen-2.0.5.ebuild25
-rw-r--r--dev-cpp/eigen/eigen-2.0.9.ebuild11
3 files changed, 24 insertions, 18 deletions
diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index fbfa9dc3505c..a4bb44d73422 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/eigen
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.24 2009/12/05 06:35:23 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.25 2009/12/10 17:37:08 abcd Exp $
+
+ 10 Dec 2009; Jonathan Callen <abcd@gentoo.org> eigen-2.0.5.ebuild,
+ eigen-2.0.9.ebuild:
+ Convert mycmakeargs to an array (required due to usage in src_test)
05 Dec 2009; Jonathan Callen <abcd@gentoo.org> -eigen-2.0.4.ebuild,
-eigen-2.0.4-r1.ebuild, -files/eigen-2.0.4-gcc-4-1.patch,
diff --git a/dev-cpp/eigen/eigen-2.0.5.ebuild b/dev-cpp/eigen/eigen-2.0.5.ebuild
index 69454e7149a2..096856e4f48c 100644
--- a/dev-cpp/eigen/eigen-2.0.5.ebuild
+++ b/dev-cpp/eigen/eigen-2.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-2.0.5.ebuild,v 1.4 2009/11/30 06:07:57 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-2.0.5.ebuild,v 1.5 2009/12/10 17:37:08 abcd Exp $
EAPI="2"
@@ -36,11 +36,11 @@ src_configure() {
# benchmarks (BTL) brings up damn load of external deps including fortran
# compiler
# library hangs up complete compilation proccess, test later
- mycmakeargs="
+ mycmakeargs=(
-DEIGEN_BUILD_LIB=OFF
-DEIGEN_BUILD_BTL=OFF
$(cmake-utils_use examples EIGEN_BUILD_DEMOS)
- "
+ )
cmake-utils_src_configure
}
@@ -52,6 +52,16 @@ src_compile() {
fi
}
+src_test() {
+ mycmakeargs+=(
+ -DEIGEN_BUILD_TESTS=ON
+ -DEIGEN_TEST_NO_FORTRAN=ON
+ )
+ cmake-utils_src_configure
+ cmake-utils_src_compile
+ cmake-utils_src_test
+}
+
src_install() {
cmake-utils_src_install
if use doc; then
@@ -63,12 +73,3 @@ src_install() {
dobin mandelbrot/mandelbrot opengl/quaternion_demo || die "dobin failed"
fi
}
-
-src_test() {
- mycmakeargs="${mycmakeargs}
- -DEIGEN_BUILD_TESTS=ON
- -DEIGEN_TEST_NO_FORTRAN=ON"
- cmake-utils_src_configure
- cmake-utils_src_compile
- cmake-utils_src_test
-}
diff --git a/dev-cpp/eigen/eigen-2.0.9.ebuild b/dev-cpp/eigen/eigen-2.0.9.ebuild
index 699853754e6c..4408c4247c4f 100644
--- a/dev-cpp/eigen/eigen-2.0.9.ebuild
+++ b/dev-cpp/eigen/eigen-2.0.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-2.0.9.ebuild,v 1.2 2009/11/29 16:15:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-2.0.9.ebuild,v 1.3 2009/12/10 17:37:08 abcd Exp $
EAPI="2"
@@ -31,11 +31,11 @@ src_configure() {
# benchmarks (BTL) brings up damn load of external deps including fortran
# compiler
# library hangs up complete compilation proccess, test later
- mycmakeargs="
+ mycmakeargs=(
-DEIGEN_BUILD_LIB=OFF
-DEIGEN_BUILD_BTL=OFF
$(cmake-utils_use examples EIGEN_BUILD_DEMOS)
- "
+ )
cmake-utils_src_configure
}
@@ -60,9 +60,10 @@ src_install() {
}
src_test() {
- mycmakeargs="${mycmakeargs}
+ mycmakeargs+=(
-DEIGEN_BUILD_TESTS=ON
- -DEIGEN_TEST_NO_FORTRAN=ON"
+ -DEIGEN_TEST_NO_FORTRAN=ON
+ )
cmake-utils_src_configure
cmake-utils_src_compile
cmake-utils_src_test