commit: 9eb7b1d6383e100614799a895342ede31a3734f3 Author: Grégory Salvan <apieum <AT> gmail <DOT> com> AuthorDate: Sun Feb 21 14:05:42 2016 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Feb 22 08:36:31 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9eb7b1d6
added openmp use flag sci-mathematics/netgen/netgen-5.3.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild index 3d5b624..6f385f7 100644 --- a/sci-mathematics/netgen/netgen-5.3.1.ebuild +++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="~amd64 ~x86" -IUSE="-ffmpeg jpeg -mpi opencascade" +IUSE="-ffmpeg jpeg -mpi opencascade -openmp" DEPEND=" dev-lang/tk @@ -57,6 +57,10 @@ src_configure() { # but --disable-xxx does not seem to work correcly, so... local myconf="--with-togl=/usr/$(get_libdir)/Togl1.7" + if use !openmp; then + myconf="${myconf} --disable-openmp" + fi + if use opencascade; then myconf="${myconf} --enable-occ --with-occ=$CASROOT" append-ldflags -L$CASROOT/$(get_libdir)