FreeBSD Bugzilla – Attachment 142632 Details for
Bug 189691
[PATCH] devel/scons m4 tool, BSD specific problem.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.28 KB, created by
clutton
on 2014-05-12 02:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
clutton
Created:
2014-05-12 02:50:00 UTC
Size:
1.28 KB
patch
obsolete
>diff --git a/devel/scons/Makefile b/devel/scons/Makefile >index 58c2639..e71ff06 100644 >--- a/devel/scons/Makefile >+++ b/devel/scons/Makefile >@@ -11,6 +11,8 @@ COMMENT= Build tool alternative to make > > LICENSE= MIT > >+RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 >+ > USE_PYTHON= 2 > USE_PYDISTUTILS= yes > PYDISTUTILS_AUTOPLIST= yes >@@ -22,5 +24,6 @@ post-patch: > -e 's,distutils\.command\.install$$,setuptools\.command\.install,' \ > -e 's,distutils\.command\.install\.,setuptools\.command\.install\.,' \ > ${WRKSRC}/setup.py >+ @${FIND} ${WRKSRC} -name \*.orig -delete > > .include <bsd.port.mk> >diff --git a/devel/scons/files/patch-engine_SCons_Tool_m4.py b/devel/scons/files/patch-engine_SCons_Tool_m4.py >new file mode 100644 >index 0000000..08ad5dc >--- /dev/null >+++ b/devel/scons/files/patch-engine_SCons_Tool_m4.py >@@ -0,0 +1,11 @@ >+--- engine/SCons/Tool/m4.py 2013-03-03 16:48:40.000000000 +0200 >++++ engine/SCons/Tool/m4.py 2014-05-11 08:08:11.000000000 +0300 >+@@ -49,7 +49,7 @@ >+ # 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}' >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189691
: 142632