Changeset 98851


Ignore:
Timestamp:
Oct 18, 2012, 4:00:37 PM (12 years ago)
Author:
landonf@…
Message:

Fix build on Mountain Lion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/simulavr/Portfile

    r98740 r98851  
    4646
    4747    fs-traverse fpath ${worksrcpath} {
    48         if {[file isfile "${fpath}"]} {
     48        set ext [file extension "${fpath}"]
     49        if {[file isfile "${fpath}"] && ($ext == ".c" || $ext == ".h" || $ext == ".cpp")} {
    4950            foreach r $regexps {
    50                 reinplace $r $fpath
     51                reinplace -locale C $r $fpath
    5152            }
    5253        }
Note: See TracChangeset for help on using the changeset viewer.