Changeset 136952


Ignore:
Timestamp:
May 31, 2015, 10:00:08 AM (4 years ago)
Author:
ryandesign@…
Message:

graphviz, graphviz-devel: use eq instead of == for string comparison

Location:
trunk/dports/graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/graphviz-devel/Portfile

    r136611 r136952  
    117117
    118118    post-patch {
    119         if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} {
     119        if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} eq "libc++"} {
    120120            reinplace "s:-lstdc\+\+:-lc++:" \
    121121                ${worksrcpath}/configure.ac \
  • trunk/dports/graphics/graphviz/Portfile

    r136025 r136952  
    117117
    118118    post-patch {
    119         if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} {
     119        if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} eq "libc++"} {
    120120            reinplace "s:-lstdc\+\+:-lc++:" \
    121121                ${worksrcpath}/configure.ac \
Note: See TracChangeset for help on using the changeset viewer.