Hi,
While using scons to build something I ran into the problem, that
m4 was called with -E and exits due the OpenBSD m4 has no -E option.
I propose following patch:
OK?
cvs server: Diffing .
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/scons/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile 16 Sep 2011 09:24:58 -0000 1.14
+++ Makefile 25 Nov 2011 12:01:47 -0000
@@ -5,7 +5,7 @@ COMMENT= Python-based build system
VERSION= 2.0.1
DISTNAME= scons-${VERSION}
CATEGORIES= devel
-REVISION = 1
+REVISION = 2
HOMEPAGE= http://www.scons.org/
cvs server: Diffing patches
Index: patches/patch-engine_SCons_Tool_m4_py
===================================================================
RCS file: patches/patch-engine_SCons_Tool_m4_py
diff -N patches/patch-engine_SCons_Tool_m4_py
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-engine_SCons_Tool_m4_py 25 Nov 2011 12:01:47 -0000
@@ -0,0 +1,11 @@
+--- engine/SCons/Tool/m4.py.orig Tue Aug 17 08:02:52 2010
++++ engine/SCons/Tool/m4.py Fri Nov 25 12:57:30 2011
+@@ -50,7 +50,6 @@ def generate(env):
+ # The src_suffix setup is like so: file.c.m4 -> file.c,
+ # file.cpp.m4 -> file.cpp etc.
+ env['M4'] = 'm4'
+- env['M4FLAGS'] = SCons.Util.CLVar('-E')
+ env['M4COM'] = 'cd ${SOURCE.rsrcdir} && $M4 $M4FLAGS <
${SOURCE.file} > ${TARGET.abspath}'
+
+ def exists(env):
+