Changeset 97740


Ignore:
Timestamp:
Sep 14, 2012, 1:51:00 AM (8 years ago)
Author:
jeremyhu@…
Message:

libunwind-headers: Bump to 35.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libunwind-headers/Portfile

    r95899 r97740  
    22
    33PortSystem              1.0
    4 PortGroup               xcode 1.0
    5 PortGroup               xcodeversion 1.0
    6 minimum_xcodeversions   {10 3.2.3}
    74
    85name                    libunwind-headers
    9 version                 30
    10 revision                4
     6version                 35.1
    117categories              devel
    128maintainers             mfeiri openmaintainer
     
    2319
    2420distname                libunwind-${version}
    25 checksums               rmd160  3e288379a63a78b566df7d185b0677f214b37e56 \
    26                         sha256  6ac97d18cc2b05e6de1269bf5af03b81948bd2200dae827527f3dc618b82bd41
    27 
    28 xcode.target            libunwind-ld
     21checksums               sha1    86908428aaa0ae6cec5038dc6eeb8b64dbb6cd63 \
     22                        rmd160  6debb7f1a69d53ecb4512d5c9fa374ef34c4db0e \
     23                        sha256  d88ecd5c37f0c0c4d18feb9be52e7b2363ef2709cd2eb36e2e205f3226110de1
    2924
    3025post-patch {
     
    3530
    3631    foreach header [glob ${worksrcpath}/*/{,*/}*.h{,pp}] {
     32        if {${os.major} < 12} {
     33            reinplace "s|__MAC_10_8|__MAC_NA|g" ${header}
     34            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
     35            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER|__attribute__((unavailable))|g" ${header}
     36        }
    3737        if {${os.major} < 11} {
    3838            reinplace "s|__MAC_10_7|__MAC_NA|g" ${header}
     
    6666}
    6767
     68use_configure no
     69build {}
     70
     71destroot {
     72    system "ditto ${worksrcpath}/include ${destroot}${prefix}/include"
     73    xinstall -d ${destroot}${prefix}/include/libunwind
     74    eval xinstall [glob ${worksrcpath}/src/*.h{,pp}] ${destroot}${prefix}/include/libunwind
     75
     76    file delete ${destroot}${prefix}/include/libunwind/libunwind_priv.h
     77}
     78
    6879livecheck.type          regex
    6980livecheck.regex         "libunwind-(\[\\d.\]+)"
Note: See TracChangeset for help on using the changeset viewer.