Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2018 16:33:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461154 - head/textproc/google-ctemplate
Message-ID:  <201802071633.w17GXEPw088016@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Feb  7 16:33:14 2018
New Revision: 461154
URL: https://svnweb.freebsd.org/changeset/ports/461154

Log:
  - 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

Modified:
  head/textproc/google-ctemplate/Makefile

Modified: head/textproc/google-ctemplate/Makefile
==============================================================================
--- head/textproc/google-ctemplate/Makefile	Wed Feb  7 16:31:27 2018	(r461153)
+++ head/textproc/google-ctemplate/Makefile	Wed Feb  7 16:33:14 2018	(r461154)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802071633.w17GXEPw088016>