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:
Edwin Groothuis via the GNATS Auto Assign Tool
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:
Date: Sun Jul 27 18:12:40 UTC 2014
New revision: 363085
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.
Submitted by: clutton0 (gmail)
Approved by: maintainer (Gavin McDonald)