svn commit: r461076 - head/lang/clang33
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Feb 6 16:55:45 UTC 2018
Author: amdmi3
Date: Tue Feb 6 16:55:44 2018
New Revision: 461076
URL: https://svnweb.freebsd.org/changeset/ports/461076
Log:
- Limit python version with 2.7, fails with python3:
checking for python >= 2.5... File "<string>", line 1
import sys; print sys.version.split()[0]
^
SyntaxError: invalid syntax
- Fix shebang in scan-view script
Approved by: portmgr blanket
Modified:
head/lang/clang33/Makefile
Modified: head/lang/clang33/Makefile
==============================================================================
--- head/lang/clang33/Makefile Tue Feb 6 16:33:15 2018 (r461075)
+++ head/lang/clang33/Makefile Tue Feb 6 16:55:44 2018 (r461076)
@@ -2,7 +2,7 @@
PORTNAME= clang
DISTVERSION= 3.3
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
PKGNAMESUFFIX= ${LLVM_SUFFIX}
@@ -33,7 +33,8 @@ PYTHONLIBDIR= ${LLVM_PREFIX}/lib/python
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX}
-USES= gmake groff perl5 python
+USES= gmake groff perl5 python:2.7 shebangfix
+SHEBANG_FILES= tools/clang/tools/scan-view/scan-view
USE_LDCONFIG= yes
MAKE_ARGS= CLANG_TBLGEN=${WRKSRC}/${RELTYPE}/bin/clang-tblgen \
More information about the svn-ports-all
mailing list