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) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name gmp 5 version 4.2.1 6 revision 4 5 version 4.2.2 7 6 categories devel math 8 7 maintainers nomaintainer@macports.org 9 8 platforms darwin … … 22 21 homepage http://gmplib.org/ 23 22 master_sites gnu 24 23 25 checksums md5 091c56e0e1cca6b09b17b69d47ef18e3 \ 26 sha1 00a97f0ec1eb1d9429ab5c64be6889e8a497425e 24 checksums md5 7ce52531644e6d12f16911b7e3151f3f \ 25 sha1 8c5f9798956f9b0162a25a56477a3566a92abc72 \ 26 rmd160 4021720f78b02244197c0c49522289e7fe81aad9 27 27 28 use_bzip2 yes 28 29 29 30 configure.env ABI=32 … … 35 36 universal_variant no 36 37 37 38 post-destroot { 38 ui_msg "$UI_PREFIX Running ranlib on static libraries"39 39 system "ranlib ${destroot}${prefix}/lib/libgmp.a" 40 40 delete ${destroot}${prefix}/include/gmpxx.h 41 41 delete ${destroot}${prefix}/lib/libgmpxx.a 42 42 delete ${destroot}${prefix}/lib/libgmpxx.la 43 43 delete ${destroot}${prefix}/lib/libgmpxx.dylib 44 delete ${destroot}${prefix}/lib/libgmpxx. 3.dylib45 delete ${destroot}${prefix}/lib/libgmpxx. 3.1.1.dylib44 delete ${destroot}${prefix}/lib/libgmpxx.4.dylib 45 delete ${destroot}${prefix}/lib/libgmpxx.4.0.2.dylib 46 46 } 47 47 48 default_variants +test 49 variant test { 50 test.run yes 51 test.cmd make 52 test.target check 53 } 48 test.run yes 49 test.cmd make 50 test.target check 54 51 55 52 platform i386 { 56 53 configure.env-delete ABI=32