aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2014-02-04 23:04:23 +0100
committerAndreas Schäfer <gentryx@gmx.de>2014-02-04 23:04:23 +0100
commitc67d243496c8938e4bfe1a3cae15e49ab1744fa4 (patch)
tree437d260d4447535d7faf8012574c5966d863cd9a /sci-visualization/visit
parentMerge /usr/local/portage/andis_overlay (diff)
downloadsci-c67d243496c8938e4bfe1a3cae15e49ab1744fa4.tar.gz
sci-c67d243496c8938e4bfe1a3cae15e49ab1744fa4.tar.bz2
sci-c67d243496c8938e4bfe1a3cae15e49ab1744fa4.zip
added debug and threads use flags to VisIt
Diffstat (limited to 'sci-visualization/visit')
-rw-r--r--sci-visualization/visit/visit-2.7.1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-visualization/visit/visit-2.7.1.ebuild b/sci-visualization/visit/visit-2.7.1.ebuild
index 6a951c54e..c91c19f90 100644
--- a/sci-visualization/visit/visit-2.7.1.ebuild
+++ b/sci-visualization/visit/visit-2.7.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/visit${PV}.tar.g
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64"
-IUSE="hdf5 tcmalloc cgns silo netcdf"
+IUSE="debug hdf5 tcmalloc cgns silo netcdf threads"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
@@ -44,10 +44,14 @@ src_configure() {
-DPYTHON_DIR="${EPREFIX}/usr"
-DVISIT_PYTHON_SKIP_INSTALL=true
-DVISIT_VTK_SKIP_INSTALL=true
- -DVISIT_THREAD=true
-DQT_BIN="${EPREFIX}/usr/bin"
-DVISIT_ZLIB_DIR="${EPREFIX}/usr"
)
+ if use threads; then
+ mycmakeargs+=( -DVISIT_THREAD=true )
+ else
+ mycmakeargs+=( -DVISIT_THREAD=false )
+ fi
if use hdf5; then
mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" )
fi