our m4 lacks the -E option to turn warnings into errors.
from Stefan Rinkes ok sthen@
This commit is contained in:
parent
ab12aa7eda
commit
d7078d34d2
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2011/09/16 09:24:58 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2011/12/21 17:41:52 jasper Exp $
|
||||
|
||||
COMMENT= Python-based build system
|
||||
|
||||
VERSION= 2.0.1
|
||||
DISTNAME= scons-${VERSION}
|
||||
CATEGORIES= devel
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
|
||||
HOMEPAGE= http://www.scons.org/
|
||||
|
||||
|
14
devel/scons/patches/patch-engine_SCons_Tool_m4_py
Normal file
14
devel/scons/patches/patch-engine_SCons_Tool_m4_py
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-engine_SCons_Tool_m4_py,v 1.1 2011/12/21 17:41:52 jasper Exp $
|
||||
|
||||
XXX: OpenBSD's m4(1) lacks the -E option (needs to be implemented though).
|
||||
|
||||
--- engine/SCons/Tool/m4.py.orig Wed Dec 21 18:39:51 2011
|
||||
+++ engine/SCons/Tool/m4.py Wed Dec 21 18:40:07 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):
|
Loading…
Reference in New Issue
Block a user