[Lunar-commits] <moonbase-other> netcdf: reworked dependencies

v4hn me at v4hn.de
Sun Apr 21 03:59:37 CEST 2013


commit 548e0f80ab56878eaf5c02d533da5f2ba25401c6
Author: v4hn <me at v4hn.de>
Date: Sat, 20 Apr 2013 18:57:45 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/548e0f80ab56878eaf5c02d533da5f2ba25401c6

netcdf: reworked dependencies
---
  science/netcdf/BUILD   | +5/-9     
  science/netcdf/DEPENDS | +2/-2     
  2 files changed, 7 insertions(+), 11 deletions(-)

--- a/science/netcdf/BUILD
+++ b/science/netcdf/BUILD
@@ -1,11 +1,7 @@
-(
+if [ "`arch`" == "x86_64" ]; then
+  CFLAGS="$CFLAGS -fPIC"
+fi &&
 
-  if [ "`arch`" == "x86_64" ]; then
-    CFLAGS="$CFLAGS -fPIC"
-  fi &&
+OPTS+=" --disable-examples --enable-shared" &&
 
-  OPTS+=" --disable-examples --enable-shared --with-udunits --without-szlib --disable-netcdf-4 --disable-f90" &&
-
-  default_build
-
-) > $C_FIFO 2>&1
+default_build
--- a/science/netcdf/DEPENDS
+++ b/science/netcdf/DEPENDS
@@ -1,2 +1,2 @@
-optional_depends hdf5 "--with-hdf5" "--without-hdf5" "for hdf5 data modeling support"
-optional_depends zlib "--with-zlib" "--without-zlib" "for file compression support"
+optional_depends hdf5 "--enable-netcdf-4" "--disable-netcdf-4" "build netcdf-4 module"
+optional_depends zlib "" "" "for file compression support(required for netcdf-4)"




More information about the Lunar-commits mailing list