Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 21:49:15 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344317 - in head: devel/llvm33 lang/clang33
Message-ID:  <201402142149.s1ELnFSB050587@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



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