summaryrefslogtreecommitdiff
path: root/math/octave-forge-netcdf/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-netcdf/files')
-rw-r--r--math/octave-forge-netcdf/files/patch-Makefile11
-rw-r--r--math/octave-forge-netcdf/files/patch-configure11
2 files changed, 11 insertions, 11 deletions
diff --git a/math/octave-forge-netcdf/files/patch-Makefile b/math/octave-forge-netcdf/files/patch-Makefile
deleted file mode 100644
index 96ca14c0b8b2..000000000000
--- a/math/octave-forge-netcdf/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile-orig 2015-02-26 03:30:37.000000000 +0000
-+++ Makefile 2015-02-26 03:30:57.000000000 +0000
-@@ -18,7 +18,7 @@
- rm ../PKG_ADD ../inst/import_netcdf.m
-
- __netcdf__.oct: $(SRC) netcdf_constants.h
-- $(MKOCTFILE) $(CFLAGS) $(SRC) $(LIBS)
-+ $(MKOCTFILE) $(SRC) $(LIBS)
-
- ../PKG_ADD: $(SRC)
- sh PKG_ADD.sh
diff --git a/math/octave-forge-netcdf/files/patch-configure b/math/octave-forge-netcdf/files/patch-configure
new file mode 100644
index 000000000000..8886a945c90d
--- /dev/null
+++ b/math/octave-forge-netcdf/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2018-04-18 01:56:27 UTC
++++ configure
+@@ -2487,7 +2487,7 @@ if test -z "$NC_CONFIG"; then
+ fi
+
+ NETCDF_LIBS=`$NC_CONFIG --libs`
+-NETCDF_CPPFLAGS=`$NC_CONFIG --cflags`
++NETCDF_CPPFLAGS=`--cflags`
+
+
+