David,
Upstream has released a new 4.3.1 gmp version
which resolves all of the MacOS X issues in the
initial 4.3.0 release. I have attached a gmp.info
which builds this release (without the previous patch
since the upstream developer disapproves of that change).
I am able to build this gmp-4.3.1-1000 release under
x86_64 fink and i386 fink without regression. I haven't
tested on powerpc-apple-darwin yet but the initial 4.3.0
release had no issues there.
Jack
Info2: <<
Package: gmp%type_pkg[-64bit]
Version: 4.3.1
Revision: 1000
GCC: 4.0
Type: -64bit (boolean)
Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] =
-64bit ) i386
Source: mirror:gnu:gmp/gmp-%v.tar.gz
Source-MD5: a8f60ac823a16e61335dba9c08875c06
Depends: %N-shlibs (= %v-%r), libgmpxx%type_pkg[-64bit]-shlibs (= %v-%r), (
%type_raw[-64bit] = -64bit ) 64bit-cpu
BuildDepends: fink (>= 0.26.0), gcc4.0 (>= 4.0.1-1)
Conflicts: gmp, gmp-64bit
Replaces: gmp, gmp-64bit
SetCPPFLAGS: -fexceptions
ConfigureParams: --infodir='${prefix}/share/info' --enable-cxx
CompileScript: <<
#! /bin/sh -ev
if [ "%type_raw[-64bit]" == "." ] ; then
case "%m" in
i386 | powerpc) ABI=32 ./configure %c --libdir='${prefix}/%lib';;
x86_64) ABI=64 ./configure %c --libdir='${prefix}/%lib';;
esac
else
case "%m" in
i386) ABI=64 ./configure %c --libdir='${prefix}/%lib';;
powerpc) ABI=mode64 ./configure %c --libdir='${prefix}/%lib';;
esac
fi
make
make check
<<
DocFiles: COPYING COPYING.LIB README
InfoDocs: gmp.info gmp.info-1 gmp.info-2
BuildDependsOnly: True
SplitOff: <<
Package: %N-shlibs
Depends: ( %type_raw[-64bit] = -64bit ) 64bit-cpu
Replaces: gmp (<< 4.0.1-1)
Files: %lib/libgmp.*.dylib
Shlibs: <<
%p/%lib/libgmp.3.dylib 9.0.0 %n (>= 4.2.1-1) %type_num[-64bit]
<<
Description: Shared library for gmp package
DocFiles: doc/* AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README
<<
SplitOff2: <<
Package: libgmpxx%type_pkg[-64bit]-shlibs
Depends: ( %type_raw[-64bit] = -64bit ) 64bit-cpu, %N-shlibs
Replaces: gmp (<< 4.0.1-1), gmp-shlibs (<< 4.1.4-1)
Files: %lib/libgmpxx.*.dylib
Shlibs: <<
%p/%lib/libgmpxx.4.dylib 6.0.0 %n (>= 4.2.1-1) %type_num[-64bit]
<<
Description: Shared C++ library for gmp package
DocFiles: doc/* AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README
<<
License: LGPL
Description: GNU multiple precision arithmetic library
DescDetail: <<
GNU MP is a portable library written in C for arbitrary precision
arithmetic on integers, rational numbers, and floating-point numbers.
<<
DescPackaging: <<
Unfortunately, the libgmpxx4 splitoff, which existed from vers. 4.1.4-1
through vers. 4.2.1-1008, was misnamed. It *should* have been called
libgmpxx3, and the new version of that library should now be in a splitoff
called libgmpxx4. To work around this, the splitoff is now called
libgmpxx (with no number); note that the next time the major version of
this library changes, the splitoff should go to libgmpxx5.
<<
DescPort: <<
Patch from Ben Hines to build libgmpxx, as of vers. 4.1-2. As of vers.
4.1.4-1, libgmpxx gets its own splitoff.
As of vers. 4.2, mpfr is a separate library, available in fink as the
libmpfr1 package.
The patch, provided by Martin Costabel, makes the 64bit variant compile on
the new MacBookPros whose core2 duo processor is misidentified as pentium3.
As of vers. 4.2.3, we are building with -fexceptions, for the benefit of
ppl library that will be used in gcc 4.4.x. (Suggested by Jack Howarth;
see http://www.cs.unipr.it/ppl/ and http://gcc.gnu.org/wiki/Graphite .)
<<
Maintainer: Dave Morrison <d...@finkproject.org>
Homepage: http://gmplib.org
<<
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel