m4 is hard-coded in ebuild. awk also. GNU tools are prefix "g" is added to basically on FreeBSD. Please add code for FreeBSD. autoconf-2.13.ebuild src_compile() { ac_cv_path_M4=m4 \ ac_cv_prog_AWK=awk \ Reproducible: Always Steps to Reproduce: 1. emerge =autoconf-2.13 2. 3. Actual Results: Error: Autoconf requires GNU m4 1.1 or later gmake: Error: Autoconf requires GNU m4 1.1 or later *** [autoconf.m4f] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [autoheader.m4f] Error 1 ./autoconf.texi:784: warning: `(' follows defined name `AC_CONFIG_AUX_DIR' instead of whitespace. emake failed * ERROR: sys-devel/autoconf-2.13 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2059: Called die * The specific snippet of code: * emake || die # m4 --version m4: illegal option -- - usage: m4 [-d flags] [-t name] [-gs] [-D name[=value]]... [-U name]... [-I dirname]... file... # gm4 --version m4 (GNU M4) 1.4.16 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Rene' Seindal. # awk --version awk version 20110810 (FreeBSD) # gawk --version GNU Awk 4.0.2 Copyright (C) 1989, 1991-2012 Free Software Foundation.
Created attachment 336702 [details, diff] sample patch for autoconf-2.13.ebuild
applied a (sligthly) modified version, thanks