Ticket #28232: Platypus-Portfile.diff

File Platypus-Portfile.diff, 644 bytes (added by mklein-de (Michael Klein), 13 years ago)

Portfile patch

  • Portfile

     
    3737post-destroot {
    3838        reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
    3939
    40         # there is no English.lproj when building on Tiger but there is one on SL
    41         if {"darwin" == ${os.platform} && 8 == ${os.major}} {
     40        # there is no English.lproj when building on Tiger and Leopard but there is one on SL
     41        if {"darwin" == ${os.platform} && 10 > ${os.major}} {
    4242                reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
    4343        }
    4444