aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@kyomu.43-1.org>2014-03-02 20:52:23 +0100
committerMatthias Maier <tamiko@kyomu.43-1.org>2014-03-02 20:58:04 +0100
commit2aca82f4050c566f4faa950b523a7b288cb30736 (patch)
treed538a01743dd664a496493c30b166401178982ba /sci-libs/dealii/dealii-9999.ebuild
parentFix dependencies for sci-libs/dealii-8.(0|1).0, provide local use flag (diff)
downloadsci-2aca82f4050c566f4faa950b523a7b288cb30736.tar.gz
sci-2aca82f4050c566f4faa950b523a7b288cb30736.tar.bz2
sci-2aca82f4050c566f4faa950b523a7b288cb30736.zip
Add muparser and c++11 use flag to live ebuild
Diffstat (limited to 'sci-libs/dealii/dealii-9999.ebuild')
-rw-r--r--sci-libs/dealii/dealii-9999.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 24ada121c..1d8b7ad02 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -16,9 +16,9 @@ KEYWORDS=""
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
- mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb
- trilinos +zlib
+ arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
+ mpi mumps muparser netcdf p4est parameter_gui petsc +sparse sse2
+ static-libs +tbb trilinos +zlib
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -36,6 +36,7 @@ RDEPEND="
metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
mumps? ( sci-libs/mumps[mpi] )
+ muparser? ( dev-cpp/muParser )
netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
p4est? ( sci-libs/p4est[mpi] )
parameter_gui? ( dev-qt/qtgui )
@@ -55,7 +56,6 @@ DEPEND="
src_configure() {
subversion_wc_info
- local live_version="-DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}"
if use debug; then
CMAKE_BUILD_TYPE="DebugRelease"
@@ -64,7 +64,7 @@ src_configure() {
fi
local mycmakeargs=(
- ${live_version}
+ -DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
@@ -77,6 +77,7 @@ src_configure() {
-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
$(cmake-utils_use avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
@@ -85,6 +86,7 @@ src_configure() {
$(cmake-utils_use metis DEAL_II_WITH_METIS)
$(cmake-utils_use mpi DEAL_II_WITH_MPI)
$(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
+ $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
$(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
$(cmake-utils_use p4est DEAL_II_WITH_P4EST)
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)