Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2135
Modified Files:
gmp.info
Log Message:
adjust for new architecture
Index: gmp.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/gmp.info,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- gmp.info 6 Apr 2009 18:55:05 -0000 1.19
+++ gmp.info 6 Apr 2009 21:59:38 -0000 1.20
@@ -15,16 +15,19 @@
Replaces: gmp, gmp-64bit
PatchScript: <<
#! /bin/sh -ev
- if [ "%type_raw[-64bit]" == "-64bit" ]; then
+ if [ "%type_raw[-64bit]" == "-64bit" ] || [ "%m" == "x84_64" ] ; then
patch -p1 < %{PatchFile}
-fi
+ fi
<<
SetCPPFLAGS: -fexceptions
ConfigureParams: --infodir='${prefix}/share/info' --enable-cxx
CompileScript: <<
#! /bin/sh -ev
- if [ "%type_raw[-64bit]" == "." ]; then
- ABI=32 ./configure %c --libdir='${prefix}/%lib';
+ 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';;
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs