source: trunk/dports/devel/gmp/Portfile @ 37327

Last change on this file since 37327 was 37327, checked in by ryandesign@…, 12 years ago

gmp: enable universal build. gmp 4.2.1 had provided libtool 1.5.6 which did not produce universal binaries of the shared libraries, but gmp 4.2.2 provides libtool 1.5.24 which works fine.

Undone in r37785 because it was found that a universally-built gmp doesn't actually work right.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
1# $Id: Portfile 37327 2008-06-03 11:47:39Z $
3PortSystem 1.0
4name            gmp
5version         4.2.2
6revision        1
7categories      devel math
8maintainers     nomaintainer
9platforms       darwin
10description     GNU multiple precision arithmetic library
11long_description \
12    GNU MP is a library for arbitrary precision arithmetic, operating on\
13    signed integers, rational numbers, and floating point numbers. It   \
14    has a rich set of functions, and the functions have a regular       \
15    interface. GNU MP is designed to be as fast as possible, both for   \
16    small operands and for huge operands. The speed is achieved by using\
17    fullwords as the basic arithmetic type, by using fast algorithms, by\
18    carefully optimized assembly code for the most common inner loops   \
19    for a lots of CPUs, and by a general emphasis on speed (instead of  \
20    simplicity or elegance).
23master_sites    gnu
25checksums       md5 7ce52531644e6d12f16911b7e3151f3f \
26                sha1 8c5f9798956f9b0162a25a56477a3566a92abc72 \
27                rmd160 4021720f78b02244197c0c49522289e7fe81aad9
29use_bzip2       yes
30use_parallel_build yes
32configure.env   ABI=32
33configure.cflags-append -force_cpusubtype_ALL
34configure.args  --infodir=${prefix}/share/info \
35                --enable-shared \
36                --enable-cxx
38post-destroot {
39    system "ranlib ${destroot}${prefix}/lib/libgmp.a"
41        yes
43test.cmd        make     check
46platform i386 {
47    configure.env-delete    ABI=32
48    configure.args-append   --host=none-apple-darwin
49    configure.cflags-delete -force_cpusubtype_ALL
Note: See TracBrowser for help on using the repository browser.