Ticket #4283: Portfile.diff

File Portfile.diff, 1.1 KB (added by yuhei@…, 19 years ago)

Former patches are not necessary

  • Portfile

    old new  
    1919checksums               md5 05aa5c4835153ead032b877b84fe8bba
    2020platforms               darwin
    2121
    22 post-patch {
    23         if {[catch {set xcodebuild [binaryInPath xcodebuild]}] == 0} {
    24                 reinplace "s%pbxbuild%${xcodebuild}%" ${worksrcpath}/install.rb
    25         }
    26         if {[catch {set cpp [binaryInPath cpp-3.3]}] == 0} {
    27                 reinplace "s%/usr/bin/cpp3%${cpp}%" ${worksrcpath}/tool/och_analyzer3.rb
    28         } elseif {[catch {set cpp [binaryInPath cpp3]}] == 0} {
    29                 reinplace "s%/usr/bin/cpp3%${cpp}%" ${worksrcpath}/tool/och_analyzer3.rb
    30         } elseif {[catch {set cpp [binaryInPath cpp]}] == 0} {
    31                 reinplace "s%/usr/bin/cpp3%${cpp}%" ${worksrcpath}/tool/och_analyzer3.rb
    32         }
    33 }
    34 
    3522if {${xcodeversion} == "2.1"} {
    36         # Fix the project for Xcode 2.1.
    37         patchfiles-append       patch-ext-rubycocoa-extconf.rb.in \
    38                                                 patch-framework-pre-install.rb
     23  distfiles   rubycocoa-0.4.1-xcode-2.1-patched.tgz
     24  checksums   md5 ce498e990a4ac9de289c839aaa0c0b57
    3925}
    4026
    4127configure.args          --install-prefix=${destroot}${prefix} \