summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/siesta/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/siesta/configure.patch')
-rw-r--r--var/spack/repos/builtin/packages/siesta/configure.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/siesta/configure.patch b/var/spack/repos/builtin/packages/siesta/configure.patch
new file mode 100644
index 0000000000..8371c9e9bb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/siesta/configure.patch
@@ -0,0 +1,21 @@
+--- a/Src/configure 2017-11-23 12:42:40.909339915 +0100
++++ b/Src/configure 2017-11-23 12:42:59.911416449 +0100
+@@ -6000,7 +6000,7 @@
+ withval="$with_netcdf"
+
+ fi;
+-if test x$with_netcdf != xno; then
++if test "x$with_netcdf" != xno; then
+
+ tw_netcdf_ok=no
+ ac_ext=${FC_SRCEXT-f}
+@@ -6069,7 +6069,7 @@
+ LIBS="$save_LIBS"
+ fi
+ if test $tw_netcdf_ok = yes; then
+- DEFS="$DEFS CDF";NETCDF_INTERFACE="libnetcdf_f90.a"
++ DEFS="$DEFS CDF";
+ else
+ NETCDF_LIBS="";tw_netcdf_ok=no;if test ! -z "$with_netcdf"; then { { echo "$as_me:$LINENO: error: Could not find NetCDF library." >&5
+ echo "$as_me: error: Could not find NetCDF library." >&2;}
+