[130110] trunk/dports/science/nds2-client/Portfile

larryv at macports.org larryv at macports.org
Fri Dec 26 21:15:27 PST 2014


Revision: 130110
          https://trac.macports.org/changeset/130110
Author:   larryv at macports.org
Date:     2014-12-26 21:15:27 -0800 (Fri, 26 Dec 2014)
Log Message:
-----------
nds2-client: Avoid double eval in `if` conditions

Modified Paths:
--------------
    trunk/dports/science/nds2-client/Portfile

Modified: trunk/dports/science/nds2-client/Portfile
===================================================================
--- trunk/dports/science/nds2-client/Portfile	2014-12-27 05:15:25 UTC (rev 130109)
+++ trunk/dports/science/nds2-client/Portfile	2014-12-27 05:15:27 UTC (rev 130110)
@@ -116,7 +116,7 @@
 if {[variant_isset swig_octave]} {
     set need_octave 1
 }
-if ${need_octave} {
+if {${need_octave}} {
     # The Octave dependency can be satisfied by either octave or octave-devel.
     depends_lib-append              path:bin/octave:octave
     destroot.args-append            pkgoctexecdir="${prefix}/share/octave/site/m"
@@ -134,7 +134,7 @@
 if {[variant_isset swig_java]} {
     set need_sqlite 1
 }
-if ${need_sqlite} {
+if {${need_sqlite}} {
     depends_lib-append port:sqlite3
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141226/bf5a293e/attachment.html>


More information about the macports-changes mailing list