<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e5421ba635cabd715920e19d86c6f3813d517ad6">https://github.com/macports/macports-ports/commit/e5421ba635cabd715920e19d86c6f3813d517ad6</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e5421ba635c nanogui(-wjakob): requires OpenGL 3 (macOS 10.7+)
</span>e5421ba635c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e5421ba635cabd715920e19d86c6f3813d517ad6
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Tue Sep 15 03:58:44 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> nanogui(-wjakob): requires OpenGL 3 (macOS 10.7+)
</span>---
graphics/nanogui/Portfile | 9 +++++++++
1 file changed, 9 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/nanogui/Portfile b/graphics/nanogui/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 36fa6029e7e..f93a3e0f25d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/nanogui/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/nanogui/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,6 +75,15 @@ configure.cxxflags-append -std=c++11
</span>
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# macOS 10.6 and earlier do not have OpenGL 3 (gl3.h)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} requires OpenGL 3 (available in Mac OS X 10.7 and later)."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible Mac OS X version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:glfw \
port:nanovg
</pre><pre style='margin:0'>
</pre>