Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs17:/tmp/cvs-serv19352

Modified Files:
        gmt.info mbsystem.info 
Log Message:
now able to build mbsystem on both ppc and intel

Index: mbsystem.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/mbsystem.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- mbsystem.info       18 Dec 2006 13:29:43 -0000      1.5
+++ mbsystem.info       4 Aug 2007 00:38:18 -0000       1.6
@@ -1,16 +1,24 @@
 Package: mbsystem
 Version: 5.1.0
-Revision: 1
-Architecture: powerpc
+Revision: 2
 Source: ftp://ftp.ldeo.columbia.edu/pub/MB-System/MB-System.%v.tar.gz
 Source2: ftp://ftp.ldeo.columbia.edu/pub/MB-System/annual.gz
 SourceRename: %n-%v.tar.gz
 Source-MD5: 0fb23b904002bce4682b6633775f3922
 Source2-MD5: d7b2f67c411c80b9e0018cfa149a64ef      
-BuildDepends: gmt-dev (>=4.1.4), lesstif, netcdf, x11-dev
-Depends: gmt (>=4.1.4) , lesstif-shlibs, netcdf-shlibs, x11
+BuildDepends: gmt-dev (>=4.2.0), lesstif, netcdf, x11-dev
+Depends: gmt (>=4.2.0) , lesstif-shlibs, netcdf-shlibs, x11
 PatchScript: <<
+#!/bin/bash -v
+  # NOTE: do not set -e for bash in the line above.  That will break the grep
   perl -pi.bak -e  's|[EMAIL PROTECTED]@|%p|g' install_makefiles
+  cpp -dM /dev/null | grep __LITTLE_ENDIAN__
+  if [ $? == 0 ] ; then
+    echo Found an Little Endian machine.  Turning on byteswapping
+    perl -pi -e 's|\$BYTESWAPPED = \"NO\"\;|\$BYTESWAPPED = \"YES\"\;|g' 
install_makefiles
+  else
+    echo Leaving byteswapping set to off
+  fi
 <<
 GCC: 4.0
 CompileScript: <<

Index: gmt.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/gmt.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- gmt.info    3 Aug 2007 21:05:17 -0000       1.8
+++ gmt.info    4 Aug 2007 00:38:18 -0000       1.9
@@ -1,6 +1,6 @@
 Package: gmt
 Version: 4.2.0
-Revision: 1
+Revision: 2
 Source:  ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_src.tar.bz2
 Source2: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_man.tar.bz2
 Source3: ftp://ftp.soest.hawaii.edu/gmt/4/GMT%v_share.tar.bz2
@@ -43,6 +43,7 @@
  ln -s libpsl{.4,}.dylib
  ln -s libgmt{.4,}.dylib
  ln -s libgmtps{.4,}.dylib
+ ranlib *.a
 <<
 SplitOff: <<
   Package: %N-shlibs


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to