opnsense-ports/devel/scons/files/patch-engine_SCons_Tool_m4.py
Franco Fichtner 1ae780eba9 devel/scons: sync with upstream
Taken from: FreeBSD
2016-02-05 04:38:40 +01:00

11 lines
451 B
Python

--- engine/SCons/Tool/m4.py.orig 2015-11-09 11:25:09 UTC
+++ engine/SCons/Tool/m4.py
@@ -49,7 +49,7 @@ def generate(env):
# file and run from there.
# The src_suffix setup is like so: file.c.m4 -> file.c,
# file.cpp.m4 -> file.cpp etc.
- env['M4'] = 'm4'
+ env['M4'] = 'gm4'
env['M4FLAGS'] = SCons.Util.CLVar('-E')
env['M4COM'] = 'cd ${SOURCE.rsrcdir} && $M4 $M4FLAGS < ${SOURCE.file} > ${TARGET.abspath}'