diff options
author | brooks <brooks@FreeBSD.org> | 2014-02-15 05:49:15 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-02-15 05:49:15 +0800 |
commit | c1857cfd8dd8a8ec77bb942be8476bd70379e706 (patch) | |
tree | 856cb5c0d067082939953e9d7fc01e6d32fd0741 /devel/llvm33 | |
parent | 3ccd0a0460711b44671c37e42497a9d488b40c14 (diff) | |
download | freebsd-ports-gnome-c1857cfd8dd8a8ec77bb942be8476bd70379e706.tar.gz freebsd-ports-gnome-c1857cfd8dd8a8ec77bb942be8476bd70379e706.tar.zst freebsd-ports-gnome-c1857cfd8dd8a8ec77bb942be8476bd70379e706.zip |
Fix build when python 3 is the default.
PR: ports/186641, ports/186642
Submitted by: Gereon Kaiping <kta1c10!gereon@linta.de>
Diffstat (limited to 'devel/llvm33')
-rw-r--r-- | devel/llvm33/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/llvm33/Makefile b/devel/llvm33/Makefile index 4cbb2b9f4ceb..4b35d9c43adf 100644 --- a/devel/llvm33/Makefile +++ b/devel/llvm33/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm PORTVERSION= 3.3 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src @@ -112,10 +112,10 @@ CONFIGURE_ARGS+= --disable-docs .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 -USE_PYTHON= yes +USE_PYTHON= -2.9 LIT_COMMANDS= lit llvm-lit FileCheck .else -USE_PYTHON_BUILD= yes +USE_PYTHON_BUILD= -2.9 .endif .if ${PORT_OPTIONS:MLTOPLUGIN} @@ -164,7 +164,7 @@ post-patch: .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake - cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" ${WRKSRC} + cd ${WRKDIR}/cmake && cmake -DPYTHON_EXECUTABLE=${PYTHON_CMD} -G "Unix Makefiles" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake |