Problem: ${S}/po/Makefile.in (and since there is no eautoreconf, Makefile too) lacks a top_builddir = @top_builddir@ which sets 'mkdir_p' to "././install-sh -c -d" Why: On Linux, autoconf/libtool/whatever, looks for a compatible 'mkdir' implementation by executing "mkdir --version", if that returns either `coreutils` or `fileutils`, then mkdir_p is set to "/bin/mkdir -p". But on FreeBSD, "mkdir --version" is invalid, so mkdir_p is set to "$(top_builddir)/./install-sh -c -d". By not having top_builddir 'replaced' properly at ./configure time in po/Makefile, $(top_builddir) it's then inherited from the main Makefile where it's set to "./" (while on each other ${S}/subdir @top_builddir@ is replaced by "..")
Created attachment 166182 [details, diff] grep-2.5.3-ebuild.patch Patch to the ebuild, and in the comment above it should read ${S}/po/Makefile.in.in.
https://savannah.gnu.org/bugs/index.php?24360
Comment on attachment 166182 [details, diff] grep-2.5.3-ebuild.patch erm, no ... you can do this so that it does not require autotools being run. also, post a patch to the relevant files rather than a sed script.
Created attachment 169965 [details, diff] top_builddir fix fix for po/Makefile.in.in it doesn't need eautoreconf, my bad.
Created attachment 169967 [details, diff] remove --without-included-regex if FreeBSD libc. -r1 added --without-included-regex which breaks on FreeBSD as well, this diff to the ebuild includes the patching for the po/Makefile issue plus a check for FreeBSD's libc. Glad to have you back, Mike.
why do you need included regex ? if you really really need that, perhaps you want the code as is in the sed ebuild ...
(In reply to comment #6) > why do you need included regex ? if you really really need that, perhaps you > want the code as is in the sed ebuild ... > AFAICS sed's configure.ac check for regex functions ignores --without-included-regex if it's not found on the libc. But grep's m4/regex.m4 honors/enforces the commandline. I guess sed defaults to included regex while grep by default uses the libc's?
It's ok if I commit this one? Regarding the code on sed's ebuild, regex.h exists, but the regex functions grep uses aren't on FreeBSD's libc.
yeah, it's fine to commit
Comitted, thanks!.