Changeset 30789 for trunk/dports/games


Ignore:
Timestamp:
Nov 7, 2007, 8:40:13 AM (12 years ago)
Author:
ryandesign@…
Message:

54321: don't use 'cd' command anymore since it won't work with MacPorts 1.6.0

File:
1 edited

Legend:

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

    r28218 r30789  
    3535
    3636post-patch {
    37         cd ${worksrcpath}/archs/Darwin
    38 
    39         reinplace -E "/CXX/s/CC/g++/" variables.GNU
    40         reinplace -E "s@/(usr/local|sw)@${prefix}@" variables.GNU
     37        reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU
     38        reinplace -E "s@/(usr/local|sw)@${prefix}@" ${worksrcpath}/archs/Darwin/variables.GNU
    4139}
    4240
     
    5351variant universal {
    5452        post-patch {
    55                 cd ${worksrcpath}/archs/Darwin
    56 
    57                 reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" variables.GNU
    58                 reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" variables.GNU
     53                reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
     54                reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
    5955        }
    6056}
Note: See TracChangeset for help on using the changeset viewer.