<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2e7cd2599045622c8f16e8d4f215f3b9370b32ba">https://github.com/macports/macports-ports/commit/2e7cd2599045622c8f16e8d4f215f3b9370b32ba</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 2e7cd25 InsightToolkit*: Remove unnecessary expr
</span>2e7cd25 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2e7cd2599045622c8f16e8d4f215f3b9370b32ba
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed May 2 14:38:03 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> InsightToolkit*: Remove unnecessary expr
</span>---
graphics/InsightToolkit/Portfile | 10 +++++-----
graphics/InsightToolkit312/Portfile | 10 +++++-----
graphics/InsightToolkit314/Portfile | 10 +++++-----
3 files changed, 15 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/InsightToolkit/Portfile b/graphics/InsightToolkit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 236f054..66c034a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/InsightToolkit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/InsightToolkit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -337,7 +337,7 @@ proc resetLibLinks { inputPath } {
</span> set exeName [file rootname [lindex [file split ${f}] end]]
set f [format "%s/Contents/MacOS/%s" ${f} ${exeName}]
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> foreach dep [exec otool -L ${f}] {
if [string match -nocase "*/libitk*.dylib" ${dep}] {
set newdep [strsed ${dep} #${itkBuildBin}#${itkLibPath}#]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -364,7 +364,7 @@ variant examples description "provide ITK examples in ${itkExamplePath}" {
</span> set exe {}
foreach f [exec find ${itkExampleSrc} -name "CMakeLists.txt"] {
catch {exec grep -e "ADD_EXECUTABLE" ${f}} results
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr ![string match "*child process*" ${results}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![string match "*child process*" ${results}]} {
</span> # Remove the string "ADD_EXECUTABLE(", with or without whitespace
regsub -all "\[ \t\]*ADD_EXECUTABLE\[(\]\[ \t\]*" ${results} "" results
# Remove the string ".cxx)", with or without whitespace
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -377,7 +377,7 @@ variant examples description "provide ITK examples in ${itkExamplePath}" {
</span> # Copy them into the destroot example bin.
foreach f $exe {
set f ${itkBuildBin}/${f}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> file copy ${f} ${destroot}${itkExampleBin}
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -402,7 +402,7 @@ variant testing description "provide ITK testing in ${itkTestingPath}" {
</span> set exe {}
foreach f [exec find ${itkTestingSrc} -name "CMakeLists.txt"] {
catch {exec grep -e "ADD_EXECUTABLE" ${f}} results
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr ![string match "*child process*" ${results}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![string match "*child process*" ${results}]} {
</span> # Remove the string "ADD_EXECUTABLE(", with or without whitespace
regsub -all "\[ \t\]*ADD_EXECUTABLE\[(\]\[ \t\]*" ${results} "" results
# Remove the string ".cxx)", with or without whitespace
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -415,7 +415,7 @@ variant testing description "provide ITK testing in ${itkTestingPath}" {
</span> # Copy them into the destroot testing bin.
foreach f $exe {
set f ${itkBuildBin}/${f}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> file copy ${f} ${destroot}${itkTestingBin}
}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/InsightToolkit312/Portfile b/graphics/InsightToolkit312/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0f84911..fb4a7f2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/InsightToolkit312/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/InsightToolkit312/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -313,7 +313,7 @@ proc resetLibLinks { inputPath } {
</span> set exeName [file rootname [lindex [file split ${f}] end]]
set f [format "%s/Contents/MacOS/%s" ${f} ${exeName}]
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> foreach dep [exec otool -L ${f}] {
if [string match -nocase "*/libitk*.dylib" ${dep}] {
set newdep [strsed ${dep} #${itkBuildBin}#${itkLibPath}#]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -340,7 +340,7 @@ variant examples description "provide ITK examples in ${itkExamplePath}" {
</span> set exe {}
foreach f [exec find ${itkExampleSrc} -name "CMakeLists.txt"] {
catch {exec grep -e "ADD_EXECUTABLE" ${f}} results
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr ![string match "*child process*" ${results}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![string match "*child process*" ${results}]} {
</span> # Remove the string "ADD_EXECUTABLE(", with or without whitespace
regsub -all "\[ \t\]*ADD_EXECUTABLE\[(\]\[ \t\]*" ${results} "" results
# Remove the string ".cxx)", with or without whitespace
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -353,7 +353,7 @@ variant examples description "provide ITK examples in ${itkExamplePath}" {
</span> # Copy them into the destroot example bin.
foreach f $exe {
set f ${itkBuildBin}/${f}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> file copy ${f} ${destroot}${itkExampleBin}
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -378,7 +378,7 @@ variant testing description "provide ITK testing in ${itkTestingPath}" {
</span> set exe {}
foreach f [exec find ${itkTestingSrc} -name "CMakeLists.txt"] {
catch {exec grep -e "ADD_EXECUTABLE" ${f}} results
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr ![string match "*child process*" ${results}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![string match "*child process*" ${results}]} {
</span> # Remove the string "ADD_EXECUTABLE(", with or without whitespace
regsub -all "\[ \t\]*ADD_EXECUTABLE\[(\]\[ \t\]*" ${results} "" results
# Remove the string ".cxx)", with or without whitespace
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -391,7 +391,7 @@ variant testing description "provide ITK testing in ${itkTestingPath}" {
</span> # Copy them into the destroot testing bin.
foreach f $exe {
set f ${itkBuildBin}/${f}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> file copy ${f} ${destroot}${itkTestingBin}
}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/InsightToolkit314/Portfile b/graphics/InsightToolkit314/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3451b56..4989c72 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/InsightToolkit314/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/InsightToolkit314/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -329,7 +329,7 @@ proc resetLibLinks { inputPath } {
</span> set exeName [file rootname [lindex [file split ${f}] end]]
set f [format "%s/Contents/MacOS/%s" ${f} ${exeName}]
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> foreach dep [exec otool -L ${f}] {
if [string match -nocase "*/libitk*.dylib" ${dep}] {
set newdep [strsed ${dep} #${itkBuildBin}#${itkLibPath}#]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -356,7 +356,7 @@ variant examples description "provide ITK examples in ${itkExamplePath}" {
</span> set exe {}
foreach f [exec find ${itkExampleSrc} -name "CMakeLists.txt"] {
catch {exec grep -e "ADD_EXECUTABLE" ${f}} results
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr ![string match "*child process*" ${results}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![string match "*child process*" ${results}]} {
</span> # Remove the string "ADD_EXECUTABLE(", with or without whitespace
regsub -all "\[ \t\]*ADD_EXECUTABLE\[(\]\[ \t\]*" ${results} "" results
# Remove the string ".cxx)", with or without whitespace
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -369,7 +369,7 @@ variant examples description "provide ITK examples in ${itkExamplePath}" {
</span> # Copy them into the destroot example bin.
foreach f $exe {
set f ${itkBuildBin}/${f}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> file copy ${f} ${destroot}${itkExampleBin}
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -394,7 +394,7 @@ variant testing description "provide ITK testing in ${itkTestingPath}" {
</span> set exe {}
foreach f [exec find ${itkTestingSrc} -name "CMakeLists.txt"] {
catch {exec grep -e "ADD_EXECUTABLE" ${f}} results
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr ![string match "*child process*" ${results}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![string match "*child process*" ${results}]} {
</span> # Remove the string "ADD_EXECUTABLE(", with or without whitespace
regsub -all "\[ \t\]*ADD_EXECUTABLE\[(\]\[ \t\]*" ${results} "" results
# Remove the string ".cxx)", with or without whitespace
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -407,7 +407,7 @@ variant testing description "provide ITK testing in ${itkTestingPath}" {
</span> # Copy them into the destroot testing bin.
foreach f $exe {
set f ${itkBuildBin}/${f}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [expr [file isfile ${f}] && [file executable ${f}]] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}] && [file executable ${f}]} {
</span> file copy ${f} ${destroot}${itkTestingBin}
}
}
</pre><pre style='margin:0'>
</pre>