Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 03:53:56 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467672 - head/math/octave-forge-netcdf/files
Message-ID:  <201804180353.w3I3ru7B079081@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stephen
Date: Wed Apr 18 03:53:56 2018
New Revision: 467672
URL: https://svnweb.freebsd.org/changeset/ports/467672

Log:
  - Redo patch-configure smarter than r467670.  The problem is that mkoctfile
    doesn't understand the -isystem cflag.

Modified:
  head/math/octave-forge-netcdf/files/patch-configure

Modified: head/math/octave-forge-netcdf/files/patch-configure
==============================================================================
--- head/math/octave-forge-netcdf/files/patch-configure	Wed Apr 18 03:38:37 2018	(r467671)
+++ head/math/octave-forge-netcdf/files/patch-configure	Wed Apr 18 03:53:56 2018	(r467672)
@@ -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:]]+//'`
  
  
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804180353.w3I3ru7B079081>