Ticket #32105: Portfile.diff

File Portfile.diff, 1.3 KB (added by rudloff@…, 12 years ago)
  • Portfile

    old new  
    33PortSystem              1.0
    44PortGroup               xcode 1.0
    55PortGroup               xcodeversion 1.0
     6
    67minimum_xcodeversions   {10 3.2.3}
    78
    89name                    ld64
     
    1920                        resolves references, and produces an ouput file.
    2021
    2122
    22 if {${os.major} < 9} {
    23     pre-fetch {
    24         ui_error "${name} requires Mac OS X 10.5 or later."
    25         return -code error "incompatible Mac OS X version"
     23platform darwin 8 {
     24    version             62.1
     25    revision            0
     26    checksums           sha1 0d4513297d0807895fbfe63362f4a75560890719
     27    xcode.destroot.path ${prefix}/bin
     28    post-patch {
     29        reinplace {s|/Developer/usr/lib|$(DEVELOPER_DIR)/usr/lib|g} \
     30            ${worksrcpath}/ld64.xcodeproj/project.pbxproj
     31        reinplace "s|/usr/share/man/man1|${prefix}/share/man/man1|g" \
     32            ${worksrcpath}/ld64.xcodeproj/project.pbxproj
     33        reinplace "s|/Developer/usr/local|${prefix}|g" \
     34            ${worksrcpath}/ld64.xcodeproj/project.pbxproj
     35        reinplace "s|\$(RC_ProjectSourceVersion)|${version}|g" \
     36            ${worksrcpath}/ld64.xcodeproj/project.pbxproj
    2637    }
    2738}
    2839