[136952] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Sun May 31 03:00:08 PDT 2015


Revision: 136952
          https://trac.macports.org/changeset/136952
Author:   ryandesign at macports.org
Date:     2015-05-31 03:00:08 -0700 (Sun, 31 May 2015)
Log Message:
-----------
graphviz, graphviz-devel: use eq instead of == for string comparison

Modified Paths:
--------------
    trunk/dports/graphics/graphviz/Portfile
    trunk/dports/graphics/graphviz-devel/Portfile

Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile	2015-05-31 08:45:17 UTC (rev 136951)
+++ trunk/dports/graphics/graphviz/Portfile	2015-05-31 10:00:08 UTC (rev 136952)
@@ -116,7 +116,7 @@
     }
 
     post-patch {
-        if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} {
+        if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} eq "libc++"} {
             reinplace "s:-lstdc\+\+:-lc++:" \
                 ${worksrcpath}/configure.ac \
                 ${worksrcpath}/cmd/dot/Makefile.am \

Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile	2015-05-31 08:45:17 UTC (rev 136951)
+++ trunk/dports/graphics/graphviz-devel/Portfile	2015-05-31 10:00:08 UTC (rev 136952)
@@ -116,7 +116,7 @@
     }
 
     post-patch {
-        if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} {
+        if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} eq "libc++"} {
             reinplace "s:-lstdc\+\+:-lc++:" \
                 ${worksrcpath}/configure.ac \
                 ${worksrcpath}/cmd/dot/Makefile.am \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150531/e2269090/attachment.html>


More information about the macports-changes mailing list