Created attachment 199504 [details] svn(1) diff against math/octave Hi, octave's build process features this bit near the middle/end: sed -ne '/^\x1d/,$p' ./libinterp/op-kw-docs This is expecting \x1d to be properly inserted in the pattern, which does not currently happen with our sed. Swap it out for gsed for the time being until our sed becomes capable -- the BUILD_DEPENDS on gsed was already there, it was mainly a matter of forcing it into the configure script. Thanks, Kyle Evans
This is going to take a lot of investigation. I have no idea why the configure script ends up using /usr/bin/sed, when it seems clear to me that it should search for gsed. I tried a number of things: SED = ${LOCALBASE}/bin/gsed in CONFIGURE_ARG replacing all occurences of sed with gsed in configure but none of these worked. Do you have any ideas?
(In reply to Stephen Montgomery-Smith from comment #1) Hi, My experience is that autoconf is super annoying about it. =( The attached patch is generally what I've had to do, though- force ac_cv_path_SED (rather than just SED) in CONFIGURE_ENV.
A commit references this bug: Author: stephen Date: Sat Nov 24 21:55:20 UTC 2018 New revision: 485798 URL: https://svnweb.freebsd.org/changeset/ports/485798 Log: - Have the build process use gsed instead of sed. PR: ports/233459 Submitted by: Kyle Evans <kevans@freebsd.org> Changes: head/math/octave/Makefile
Committed, thanks.