[Lunar-commits] <moonbase> netcdf: Adjusting the builds and adding an optional_depends.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Jan 2 12:51:01 CET 2010


commit cc493257924848af78229383ad1e88279fbf6a95
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Jan 2 06:51:01 2010 -0500

    netcdf: Adjusting the builds and adding an optional_depends.
---
 science/netcdf/BUILD        |    7 +++++++
 science/netcdf/BUILD.x86_64 |    4 +++-
 science/netcdf/DEPENDS      |    1 +
 3 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/science/netcdf/BUILD b/science/netcdf/BUILD
new file mode 100644
index 0000000..f0c4e59
--- /dev/null
+++ b/science/netcdf/BUILD
@@ -0,0 +1,7 @@
+(
+
+  OPTS+=" --disable-examples --enable-shared" &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/science/netcdf/BUILD.x86_64 b/science/netcdf/BUILD.x86_64
index ae20895..c63ab10 100644
--- a/science/netcdf/BUILD.x86_64
+++ b/science/netcdf/BUILD.x86_64
@@ -1,6 +1,8 @@
 (
 
-  CFLAGS="$CFLAGS -fPIC"
+  CFLAGS="$CFLAGS -fPIC" &&
+
+  OPTS+=" --disable-examples --enable-shared" &&
 
   default_build
 
diff --git a/science/netcdf/DEPENDS b/science/netcdf/DEPENDS
new file mode 100644
index 0000000..f2fc6a9
--- /dev/null
+++ b/science/netcdf/DEPENDS
@@ -0,0 +1 @@
+optional_depends hdf5 "--with-hdf5" "--without-hdf5" "for hdf5 data modeling support"


More information about the Lunar-commits mailing list