[63519] trunk/dports/devel/gmp/Portfile

Vincent Lefevre vincent-opdarw at vinc17.org
Sun Feb 7 17:53:06 PST 2010


Hi,

On 2010-02-06 18:27:12 -0800, mcalhoun at macports.org wrote:
> Revision: 63519
>           http://trac.macports.org/changeset/63519
> Author:   mcalhoun at macports.org
> Date:     2010-02-06 18:27:10 -0800 (Sat, 06 Feb 2010)
> Log Message:
> -----------
> gmp: Update version 4.3.2 --> 5.0.1.
[...]
> @@ -54,13 +54,18 @@
>  test.cmd        make
>  test.target     check
>  
> +post-destroot {
> +    # For the upgrade 4.3.2 -> 5.0.1, do not force all packages which depend on GMP to be rebuilt.
> +    ln -s libgmp.dylib ${destroot}${prefix}/lib/libgmp.3.dylib
> +}

I don't understand. The old GMP library will be removed by the
upgrade and GMP 5 is *not* binary compatible[*] with GMP 4. So
all the packages which depend on GMP must be rebuilt by this
upgrade.

Also note that GMP 5.0.1 is not regarded as stable as GMP 4.3.2.

[*] GMP 5.0.0 was declared to be binary compatible, but this was
a bug, which has been fixed in GMP 5.0.1.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


More information about the macports-dev mailing list