[Lunar-commits] <moonbase> GMT: Combining the x86_64 into one BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Feb 10 09:55:48 CET 2011


commit c9e73bc1df668792fa4726decf25e014d6b1e609
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Feb 10 03:55:48 2011 -0500

    GMT: Combining the x86_64 into one BUILD.
---
 science/GMT/BUILD        |    8 +++++++-
 science/GMT/BUILD.x86_64 |    7 -------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/science/GMT/BUILD b/science/GMT/BUILD
index 92a8ee6..625fc2b 100644
--- a/science/GMT/BUILD
+++ b/science/GMT/BUILD
@@ -1,6 +1,12 @@
 (
 
-  OPTS+=" --enable-shared --enable-eps --enable-netcdf=/usr"
+  if [ `arch` == "x86_64" ] ; then 
+      OPTS+=" --enable-64"
+    else
+     OPTS+=" -disable-64"
+  fi &&
+
+  OPTS+=" --enable-shared --enable-eps --enable-netcdf=/usr" &&
 
   default_build
 
diff --git a/science/GMT/BUILD.x86_64 b/science/GMT/BUILD.x86_64
deleted file mode 100644
index 8560206..0000000
--- a/science/GMT/BUILD.x86_64
+++ /dev/null
@@ -1,7 +0,0 @@
-(
-
-  OPTS="$OPTS --enable-shared --enable-eps --enable-netcdf=/usr --enable-64"
-
-  default_build
-
-) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list