#52301: octave-4.0.3 fails to build with XCode 8 / OSX Sierra -----------------------------------+------------------------ Reporter: dima.batenkov@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: octave, octave-devel | -----------------------------------+------------------------ Comment (by mps@…): Replying to [comment:13 ram@…]:
Should be something like:
{{{ diff --git a/math/octave/Portfile b/math/octave/Portfile index b0e43f3..379b0ae 100644 --- a/math/octave/Portfile +++ b/math/octave/Portfile @@ -82,6 +82,9 @@ configure.env-append MKDIR_P="/bin/mkdir -p" # avoid depends_build-append port:cctools configure.env-append RANLIB=/usr/bin/ranlib
+# workaround for build failure with Xcode8 (#52301) +configure.env-append "ac_cv_func_mkostemp=no" + # main octave port lists as a depends_lib # configure.ac list it among the "[p]rograms used in Makefiles" depends_build-append port:gawk }}}
Currently running a test build...
I just built octave 4.0.3 with a similar patch file. -- Ticket URL: <https://trac.macports.org/ticket/52301#comment:14> MacPorts <https://www.macports.org/> Ports system for macOS