Ignore:
Timestamp:
Jul 6, 2013, 8:26:24 AM (6 years ago)
Author:
ryandesign@…
Message:

mongodb, oracle-instantclient, curl, VillainousStyle, pure-gen, MyPaint, keybinder, fontconfig, graphviz-oldgui, openni, ttf2eot: use eq and ne for string comparisons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/oracle-instantclient/Portfile

    r104771 r107821  
    1717    Oracle Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME.
    1818
    19 if {"powerpc" == ${os.arch}} {
     19if {${os.arch} eq "powerpc"} {
    2020    epoch               1
    2121    version             10.1.0.3
     
    7171    set my_library_prefix(x86_64)   /ade/b/2649109290
    7272   
    73     if {${os.platform} == "darwin" && ${os.major} < 9} {
     73    if {${os.platform} eq "darwin" && ${os.major} < 9} {
    7474        pre-fetch {
    7575            ui_error "${name} on Intel requires OS X 10.5 or greater."
     
    102102    foreach distfile ${distfiles} {
    103103        set distfile [strsed ${distfile} {/:.*$//}]
    104         if {![catch {strsed [exec [findBinary file $portutil::autoconf::file_path] ${distpath}/${distfile} --brief --mime] {s/;.*$//}} mimetype] && "text/html" == ${mimetype}} {
     104        if {![catch {strsed [exec [findBinary file $portutil::autoconf::file_path] ${distpath}/${distfile} --brief --mime] {s/;.*$//}} mimetype] && ${mimetype} eq "text/html"} {
    105105            lappend bad_distfiles ${distfile}
    106106            file delete ${distpath}/${distfile}
Note: See TracChangeset for help on using the changeset viewer.