<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cec6bdadeeedfa5a3e0b4bf0d4039f4c2f56d15b">https://github.com/macports/macports-ports/commit/cec6bdadeeedfa5a3e0b4bf0d4039f4c2f56d15b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cec6bdadeeedfa5a3e0b4bf0d4039f4c2f56d15b
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Dec 15 10:47:58 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> netgen: provide additional Open CASCADE variants
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/57761
</span>---
math/netgen/Portfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/netgen/Portfile b/math/netgen/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 898a849..502cb3c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/netgen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/netgen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -98,13 +98,20 @@ if {![variant_isset quartz]} {
</span> default_variants +x11
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant occ description {(not supported) compile with OpenCascade geometry kernel} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant oce conflicts opencascade description {(not supported) compile with Open CASCADE Community Edition geometry kernel} {
</span> depends_lib-append port:oce
configure.args-append -DUSE_OCC=ON \
-DOCC_INCLUDE_DIR=${prefix}/include/oce \
-DOCC_LIBRARY=${prefix}/lib
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant opencascade conflicts oce description {(not supported) compile with Open CASCADE geometry kernel} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:opencascade
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DUSE_OCC=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOCC_INCLUDE_DIR=${prefix}/include/opencascade \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOCC_LIBRARY=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-configure {
if {![variant_isset quartz] && ![variant_isset x11]} {
error "Either +x11 or +quartz is required"
</pre><pre style='margin:0'>
</pre>