The nature of bug is that: it uses m4 -E Since BSD version of m4 from CURRENT doesn't have -E key, it crashes. Probably, older versions of BSD would work. But, also, look at devel/autoconf it uses gm4 all the time. Fix: Patch attached with submission follows:
Maintainer of devel/scons, Please note that PR ports/189691 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189691 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
maintainer did not responded (added to CC again), anybody can commit this patch now .
Sorry I missed this. Approved, please apply.
A commit references this bug: Author: marino Date: Sun Jul 27 18:12:40 UTC 2014 New revision: 363085 URL: http://svnweb.freebsd.org/changeset/ports/363085 Log: devel/scons: Use GNU M4 over base m4 Scons issues "m4 -E" commands, but the version of m4 including in CURRENT doesn't understand -E switch. Use gm4 instead. PR: 189691 Submitted by: clutton0 (gmail) Approved by: maintainer (Gavin McDonald) Changes: head/devel/scons/Makefile head/devel/scons/files/patch-engine_SCons_Tool_m4.py
thanks!