<pre style='margin:0'>
Vincent (Veence) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/15715d282aad3f143abe1a21e655aeebabc65828">https://github.com/macports/macports-ports/commit/15715d282aad3f143abe1a21e655aeebabc65828</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 15715d282aad3f143abe1a21e655aeebabc65828
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun May 20 08:10:24 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> gdal: Use system instead of exec
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> system runs under the protection of the sandbox; exec doesn't.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> system prints a line to the log showing what was run; exec doesn't.
</span>---
gis/gdal/Portfile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/gdal/Portfile b/gis/gdal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 631a6ef..0ad850c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/gdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/gdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -357,7 +357,7 @@ post-configure {
</span> file copy -force ${filespath}/template-ed-GDALmake_opt $env(TMPDIR)/ed-GDALmake_opt
reinplace -E "s|@PREFIX@|${prefix}|" $env(TMPDIR)/ed-GDALmake_opt
foreach w ${worksrcpath_dirs} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exec /bin/ed -s ${w}/GDALmake.opt < $env(TMPDIR)/ed-GDALmake_opt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/bin/ed -s ${w}/GDALmake.opt < $env(TMPDIR)/ed-GDALmake_opt"
</span> }
file delete $env(TMPDIR)/ed-GDALmake_opt
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -393,7 +393,7 @@ post-destroot {
</span> bin/testepsg \
lib/libgdal.20.dylib] \
{
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -change libltidsdk.9.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.9.dylib ${destroot}${prefix}/${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change libltidsdk.9.dylib ${prefix}/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.9.dylib ${destroot}${prefix}/${f}"
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -424,13 +424,13 @@ post-destroot {
</span> lib/libgdal.20.dylib] \
{
if {${configure.cxx_stdlib} == "libc++"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -change \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change \
</span> /Users/jenkins/hudson/workspace/RL_5.1.1_ECWJP2SDK_OSX/Master/libNCSEcw.dylib ${prefix}/lib/ECW/redistributable/libc++/libNCSEcw.dylib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/${f}"
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -change \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change \
</span> /Users/jenkins/hudson/workspace/RL_5.1.1_ECWJP2SDK_OSX/Master/libNCSEcw.dylib ${prefix}/lib/ECW/redistributable/libstdc++/libNCSEcw.dylib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/${f}"
</span> }
}
}
</pre><pre style='margin:0'>
</pre>