aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-30 15:28:49 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-30 15:28:49 +0100
commit66376d24e683275dbb164b215bdbfc026dd9395c (patch)
tree6f7e98050835329c86877c86b89a6e125c239ede /sci-misc
parentsci-misc/elmer-meshgen2d: remove pack, included in elmer-fem now (diff)
downloadsci-66376d24e683275dbb164b215bdbfc026dd9395c.tar.gz
sci-66376d24e683275dbb164b215bdbfc026dd9395c.tar.bz2
sci-66376d24e683275dbb164b215bdbfc026dd9395c.zip
sci-misc/elmer-fem: add post use flag for ElmerPOST
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/elmer-fem/elmer-fem-9.0.ebuild7
-rw-r--r--sci-misc/elmer-fem/metadata.xml1
2 files changed, 7 insertions, 1 deletions
diff --git a/sci-misc/elmer-fem/elmer-fem-9.0.ebuild b/sci-misc/elmer-fem/elmer-fem-9.0.ebuild
index 8db83bd30..b576bbdb6 100644
--- a/sci-misc/elmer-fem/elmer-fem-9.0.ebuild
+++ b/sci-misc/elmer-fem/elmer-fem-9.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="ice gui matc mpi test"
+IUSE="ice gui matc mpi post test"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -26,6 +26,10 @@ RDEPEND="
virtual/lapack
!sci-libs/arpack
mpi? ( sys-cluster/openmpi )
+ post? (
+ dev-lang/tcl:0=
+ dev-lang/tk:0=
+ )
gui? ( x11-libs/qwt:6 )
"
DEPEND="${RDEPEND}"
@@ -57,6 +61,7 @@ src_configure() {
-DWITH_OpenMP="$(usex mpi)"
-DWITH_MATC="$(usex matc)"
-DWITH_ElmerIce="$(usex ice)"
+ -DWITH_ELMERPOST="$(usex post)"
-DWITH_ELMERGUI="$(usex gui)"
-DWITH_QT5="$(usex gui)"
-DWITH_QWT="$(usex gui)"
diff --git a/sci-misc/elmer-fem/metadata.xml b/sci-misc/elmer-fem/metadata.xml
index ddc96e650..341020564 100644
--- a/sci-misc/elmer-fem/metadata.xml
+++ b/sci-misc/elmer-fem/metadata.xml
@@ -12,5 +12,6 @@
<flag name="gui">Build the ElmerGUI</flag>
<flag name="matc">Build the Elmer matc library</flag>
<flag name="ice">Build ElmerICE</flag>
+ <flag name="post">Build ElmerPOST</flag>
</use>
</pkgmetadata>