ports/math/octave-forge-netcdf/files/patch-configure
Stephen Montgomery-Smith 5efec3454b - Redo patch-configure smarter than r467670. The problem is that mkoctfile
doesn't understand the -isystem cflag.
2018-04-18 03:53:56 +00:00

11 lines
281 B
Text

--- configure.orig 2018-04-18 03:48:30 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=`$NC_CONFIG --cflags | sed -E 's/-isystem[[:space:]]+[^[:space:]]+//'`