aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-02-08 00:33:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-02-08 00:33:14 +0800
commit3503d2ce8f9872e2f4835d4e039355721615b045 (patch)
tree4648dd1d053055d8eaa3842f84dd61ded5d68650 /textproc
parent3fa5c02700fe50d9d1f6fba74daad3f38ada5480 (diff)
downloadfreebsd-ports-gnome-3503d2ce8f9872e2f4835d4e039355721615b045.tar.gz
freebsd-ports-gnome-3503d2ce8f9872e2f4835d4e039355721615b045.tar.zst
freebsd-ports-gnome-3503d2ce8f9872e2f4835d4e039355721615b045.zip
- Limit python version, fails to build with python3:
--- src/htmlparser/htmlparser_fsm.h --- File "./src/htmlparser/generate_fsm.py", line 309 print '\n'.join((self._CreateHeader(), ^ SyntaxError: invalid syntax Approved by: portmgr blanket
Diffstat (limited to 'textproc')
-rw-r--r--textproc/google-ctemplate/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/google-ctemplate/Makefile b/textproc/google-ctemplate/Makefile
index b250e02b3c28..cfc6d8b4700b 100644
--- a/textproc/google-ctemplate/Makefile
+++ b/textproc/google-ctemplate/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOCS
-USES= libtool pathfix pkgconfig python shebangfix
+USES= libtool pathfix pkgconfig python:2.7 shebangfix
GNU_CONFIGURE= yes
SHEBANG_FILES= src/template-converter src/htmlparser/generate_fsm.py src/htmlparser/fsm_config.py
USE_LDCONFIG= yes