Summary: | [patch] devel/llvm33 breaks when python3 is default | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Gereon Kaiping <kta1c10!gereon> |
Component: | Individual Port(s) | Assignee: | Brooks Davis <brooks> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Gereon Kaiping
2014-02-11 01:40:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->brooks Over to maintainer (via the GNATS Auto Assign Tool) Author: brooks Date: Fri Feb 14 21:49:15 2014 New Revision: 344317 URL: http://svnweb.freebsd.org/changeset/ports/344317 QAT: https://qat.redports.org/buildarchive/r344317/ Log: Fix build when python 3 is the default. PR: ports/186641, ports/186642 Submitted by: Gereon Kaiping <kta1c10!gereon@linta.de> Modified: head/devel/llvm33/Makefile head/lang/clang33/Makefile Modified: head/devel/llvm33/Makefile ============================================================================== --- head/devel/llvm33/Makefile Fri Feb 14 21:03:41 2014 (r344316) +++ head/devel/llvm33/Makefile Fri Feb 14 21:49:15 2014 (r344317) @@ -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 Modified: head/lang/clang33/Makefile ============================================================================== --- head/lang/clang33/Makefile Fri Feb 14 21:03:41 2014 (r344316) +++ head/lang/clang33/Makefile Fri Feb 14 21:49:15 2014 (r344317) @@ -2,7 +2,7 @@ PORTNAME= clang DISTVERSION= 3.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -34,7 +34,7 @@ GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USES= gmake perl5 USE_LDCONFIG= yes -USE_PYTHON_BUILD= yes +USE_PYTHON_BUILD= -2.9 MAKE_ARGS= CLANG_TBLGEN=${WRKSRC}/${RELTYPE}/bin/clang-tblgen \ LLVMIncDir=${LLVM_PREFIX}/include \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks for your submission! |