New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82705


Ignore:
Timestamp:
08/18/11 12:16:07 (4 years ago)
Author:
ryandesign@…
Message:

ship84: fix line endings so patching works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/ship84/Portfile

    r82704 r82705  
    2626 
    2727extract.mkdir       yes 
     28 
     29post-extract { 
     30    # DOS to UNIX line endings so we can patch properly. 
     31    fs-traverse file ${worksrcpath} { 
     32        switch [file extension ${file}] { 
     33            .c - 
     34            .h - 
     35            .txt { 
     36                reinplace "s|\r||g" ${file} 
     37            } 
     38        } 
     39    } 
     40} 
    2841 
    2942patchfiles          patch-GNUmakefile.diff \ 
Note: See TracChangeset for help on using the changeset viewer.