<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/e696c72caa13c4afaf8797b95881465fa72268b5">https://github.com/macports/macports-ports/commit/e696c72caa13c4afaf8797b95881465fa72268b5</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 e696c72 irrlicht: fix build with Xcode 10
</span>e696c72 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e696c72caa13c4afaf8797b95881465fa72268b5
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Thu Sep 20 14:50:45 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> irrlicht: fix build with Xcode 10
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> and remove redundant build {} phase on all
</span><span style='display:block; white-space:pre;color:#404040;'> xcode builds, which is unnecessary, and causes
</span><span style='display:block; white-space:pre;color:#404040;'> a build failure on Xcode 10 as well
</span>---
devel/irrlicht/Portfile | 9 +++++++++
1 file changed, 9 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/irrlicht/Portfile b/devel/irrlicht/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 604bdfb..99f9502 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/irrlicht/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/irrlicht/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +41,15 @@ xcode.configuration Release
</span> xcode.destroot.type framework
xcode.target IrrFramework
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# port builds again in destroot phase - no need to build twice
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fix build with Xcode 10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 10.0] > 0)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.pre_args -derivedDataPath ./DerivedData
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xcode.scheme ${xcode.target}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
# the xcode project does not install all the include files
set flist [glob ${worksrcpath}/include/*.h]
</pre><pre style='margin:0'>
</pre>