Index: head/math/octave-forge-netcdf/files/patch-configure =================================================================== --- head/math/octave-forge-netcdf/files/patch-configure (revision 467671) +++ head/math/octave-forge-netcdf/files/patch-configure (revision 467672) @@ -1,10 +1,11 @@ ---- configure.orig 2018-04-16 20:33:18 UTC +--- configure.orig 2018-04-18 03:48:30 UTC +++ configure -@@ -2487,7 +2487,6 @@ if test -z "$NC_CONFIG"; then +@@ -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:]]+//'`