Ticket #12701: gmp-4.2.2.diff

File gmp-4.2.2.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago)

update to 4.2.2

  • Portfile

     
    22
    33PortSystem 1.0
    44name            gmp
    5 version         4.2.1
    6 revision        4
     5version         4.2.2
    76categories      devel math
    87maintainers     nomaintainer@macports.org
    98platforms       darwin
     
    2221homepage        http://gmplib.org/
    2322master_sites    gnu
    2423
    25 checksums       md5 091c56e0e1cca6b09b17b69d47ef18e3 \
    26                 sha1 00a97f0ec1eb1d9429ab5c64be6889e8a497425e
     24checksums       md5 7ce52531644e6d12f16911b7e3151f3f \
     25                sha1 8c5f9798956f9b0162a25a56477a3566a92abc72 \
     26                rmd160 4021720f78b02244197c0c49522289e7fe81aad9
     27
    2728use_bzip2       yes
    2829
    2930configure.env   ABI=32
     
    3536universal_variant   no
    3637
    3738post-destroot {
    38     ui_msg "$UI_PREFIX Running ranlib on static libraries"
    3939    system "ranlib ${destroot}${prefix}/lib/libgmp.a"
    4040    delete ${destroot}${prefix}/include/gmpxx.h
    4141    delete ${destroot}${prefix}/lib/libgmpxx.a
    4242    delete ${destroot}${prefix}/lib/libgmpxx.la
    4343    delete ${destroot}${prefix}/lib/libgmpxx.dylib
    44     delete ${destroot}${prefix}/lib/libgmpxx.3.dylib
    45     delete ${destroot}${prefix}/lib/libgmpxx.3.1.1.dylib
     44    delete ${destroot}${prefix}/lib/libgmpxx.4.dylib
     45    delete ${destroot}${prefix}/lib/libgmpxx.4.0.2.dylib
    4646}
    4747
    48 default_variants    +test
    49 variant test {
    50     test.run        yes
    51     test.cmd        make
    52     test.target     check
    53 }
     48test.run        yes
     49test.cmd        make
     50test.target     check
    5451
    5552platform i386 {
    5653    configure.env-delete    ABI=32