Ignore:
Timestamp:
May 20, 2012, 5:31:03 PM (7 years ago)
Author:
jmr@…
Message:

ophcrack: don't fail to parse if sysctl fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/ophcrack/Portfile

    r72624 r93348  
    2424configure.args      --disable-gui --disable-graph
    2525
    26 set hasMoreThan512MBofRAM [expr [gets [open "|sysctl -n hw.memsize"]] >= 536870912]
     26set hasMoreThan512MBofRAM 0
     27catch {set hasMoreThan512MBofRAM [expr [sysctl hw.memsize] >= 536870912]}
    2728
    2829post-extract {
Note: See TracChangeset for help on using the changeset viewer.