svn commit: r351292 - head/devel/llvm-devel

Brooks Davis brooks at FreeBSD.org
Mon Apr 14 21:34:26 UTC 2014


Author: brooks
Date: Mon Apr 14 21:34:25 2014
New Revision: 351292
URL: http://svnweb.freebsd.org/changeset/ports/351292
QAT: https://qat.redports.org/buildarchive/r351292/

Log:
  Our use of cmake is unconventional so we need to pass CC and CXX to it
  directly rather than relying on ports infrastructure.

Modified:
  head/devel/llvm-devel/Makefile

Modified: head/devel/llvm-devel/Makefile
==============================================================================
--- head/devel/llvm-devel/Makefile	Mon Apr 14 21:09:48 2014	(r351291)
+++ head/devel/llvm-devel/Makefile	Mon Apr 14 21:34:25 2014	(r351292)
@@ -178,7 +178,10 @@ post-patch:
 .if ${PORT_OPTIONS:MCMAKE}
 post-configure:
 	${MKDIR} ${WRKDIR}/cmake
-	cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" ${WRKSRC}
+	cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" \
+	    -DCMAKE_C_COMPILER:STRING="${CC}" \
+	    -DCMAKE_CXX_COMPILER:STRING="${CXX}" \
+	    ${WRKSRC}
 	${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \
 	    -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \
 	    ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake


More information about the svn-ports-head mailing list