Ticket #42068: class-dump-3.5.diff

File class-dump-3.5.diff, 1.9 KB (added by 0xced (Cédric Luthi), 11 years ago)
  • devel/class-dump/Portfile

     
    44PortGroup   xcode 1.0
    55
    66name            class-dump
    7 version         3.4
     7version         3.5
    88license         GPL-2
    99categories      devel
    10 maintainers     nomaintainer
     10maintainers     gmail:cedric.luthi
    1111description     Utility for examining the Objective-C segment of Mach-O files.
    1212long_description        \
    1313        It generates declarations for the classes, categories and       \
     
    1818master_sites    http://www.codethecode.com/download/
    1919use_bzip2               yes
    2020
    21 checksums           sha1    bc6d9542af201028ae980b9d0497b491ce98227f \
    22                     rmd160  de5188f5c7a885d7d262475812990a26d75a7f3a
     21checksums           sha1    a5f21efcf3195eba3ae62b34c170a590558068a2 \
     22                    rmd160  408c0baf4d384007310761585caff5e9c31a331f
    2323
    2424worksrcdir      ${distname}/src
    2525
    26 # 3.4+ must be built against the 10.8 SDK, as it requires LC_* constants
     26# 3.5+ must be built against the 10.9 SDK, as it requires LC_* constants
    2727# and other definitions unavailable in earlier SDKs. It will, however,
    28 # run against 10.7+.
    29 configure.sdkroot "$developer_dir/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
    30 xcode.target    all
     28# run against 10.8+.
     29configure.sdkroot "$developer_dir/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"
     30xcode.target    class-dump deprotect
    3131
    3232xcode.configuration Release
    3333xcode.destroot.path ${prefix}/bin
    3434
    35 if {${os.major} < 11} {
     35if {${os.major} < 12} {
    3636    pre-fetch {
    37         return -code error "$name requires Mac OS X 10.7 or later."
     37        return -code error "$name requires Mac OS X 10.8 or later."
    3838    }
    3939}
    4040
     
    4242    set docdir ${prefix}/share/doc/${name}
    4343    xinstall -d ${destroot}${docdir}
    4444    xinstall -m 644 ${worksrcpath}/../README.md ${destroot}${docdir}
     45    delete ${destroot}${prefix}/bin/libMachObjC.a
    4546}
    4647
    4748livecheck.type  regex