Ignore:
Timestamp:
Apr 3, 2012, 6:13:02 PM (7 years ago)
Author:
jeremyhu@…
Message:

cctools: Build fix for Leopard and remove unused patches

Location:
trunk/dports/devel/cctools
Files:
1 added
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/cctools/Portfile

    r91495 r91498  
    4040    # We don't want to build cctools ld.  We want to use ld64
    4141    reinplace "/^SUBDIRS_32/s/ld//" ${worksrcpath}/Makefile
     42    reinplace "/^COMMON_SUBDIRS/s/ ld / /" ${worksrcpath}/Makefile
    4243
    4344    # Use our chosen version of llvm-mc
     
    4950        reinplace "s:${prefix}/efi:${prefix}:g" ${file}
    5051        reinplace "s:${prefix}/man:${prefix}/share/man:g" ${file}
     52
     53        if {${os.major} < 10} {
     54            reinplace "s:${prefix}/bin/mig:/usr/bin/mig:g" ${file}
     55        }
    5156    }
    5257}
     
    8691
    8792    if {${os.major} < 10} {
    88         # This doesn't build for me on Leopard.  We should bump to at least version 795
    89         # which was included in XCode 3.2.6 and supports Tiger and Leopard targets.
     93        # We should bump to at-least version 795, which was included in
     94        # XCode 3.2.6 and supports Tiger and Leopard targets.
    9095        version             698.1
    9196        revision            1
     
    9398        checksums           rmd160  898c7b46869d4989c115420912fdd8d96ae923d3 \
    9499                            sha256  383f1c0c78a2b3efdfdf7ce01adb7e2f8ee9985164dba6ab1c0fae800a211cec
    95         patchfiles          patch-misc_libtool.c.diff patch-ld_ld.c.diff
     100        patchfiles          patch-misc_libtool.c.diff PR-11136237-698.1.patch
     101
     102        supported_archs     i386 ppc
    96103    } elseif {${os.major} == 10} {
    97104        version             809
     
    101108                            sha256  03ba62749b843b131c7304a044a98c6ffacd65b1399b921d69add0375f79d8ad
    102109    }
    103 
    104     # This will be required if building newer cctools on older OS versions
    105     #if {${os.major} < 10} {
    106     #    build.args-append \
    107     #        OLD_LIBKLD=YES
    108     #
    109     #    destroot.args-append \
    110     #        OLD_LIBKLD=YES
    111     #}
    112110}
    113111
     
    119117    file delete -force ${destroot}${prefix}/RelNotes
    120118
     119    if {${os.major} < 10} {
     120        file delete -force ${destroot}/Developer
     121    }
     122
    121123    # Provided by port:cctools-headers
    122124    file delete -force ${destroot}${prefix}/include
Note: See TracChangeset for help on using the changeset viewer.