diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-04-10 06:54:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-04-10 06:59:18 +0000 |
commit | 9d896e7d87153dcadfe72247d08130b7569e1790 (patch) | |
tree | 352a2b2fc84bd9f9ba8843275603365ac8d7dbf5 | |
parent | a454029f48dbaa08527470c1a6738b41e6084900 (diff) | |
download | ports-9d896e7d87153dcadfe72247d08130b7569e1790.tar.gz ports-9d896e7d87153dcadfe72247d08130b7569e1790.zip |
devel/scons: drop dependency on gnu M4
Our version of m4 supports the necessary -E switch for 2 years now
-rw-r--r-- | devel/scons/Makefile | 3 | ||||
-rw-r--r-- | devel/scons/files/patch-engine_SCons_Tool_m4.py | 11 |
2 files changed, 1 insertions, 13 deletions
diff --git a/devel/scons/Makefile b/devel/scons/Makefile index 1cdf97e766d2..9fb8d30cd0cd 100644 --- a/devel/scons/Makefile +++ b/devel/scons/Makefile @@ -2,6 +2,7 @@ PORTNAME= scons PORTVERSION= 3.1.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= SF PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} @@ -12,8 +13,6 @@ COMMENT= Build tool alternative to make LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= gm4:devel/m4 - USES= python:2.7+ shebangfix USE_PYTHON= autoplist concurrent distutils diff --git a/devel/scons/files/patch-engine_SCons_Tool_m4.py b/devel/scons/files/patch-engine_SCons_Tool_m4.py deleted file mode 100644 index f5783ba4a4d6..000000000000 --- a/devel/scons/files/patch-engine_SCons_Tool_m4.py +++ /dev/null @@ -1,11 +0,0 @@ ---- 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}' - |