svn commit: r491273 - head/lang/ponyc

Tobias Kortkamp tobik at FreeBSD.org
Sat Jan 26 12:29:23 UTC 2019


Author: tobik
Date: Sat Jan 26 12:29:22 2019
New Revision: 491273
URL: https://svnweb.freebsd.org/changeset/ports/491273

Log:
  Use clang50, clang++50 to build lang/ponyc
  
  Building the bitcode with clang70 and linking with llvm50 fails,
  so let's use the clang from the LLVM version that will be used by
  ponyc.
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p490918_s343288/logs/errors/ponyc-0.25.0_1.log
  
  PR:		234290
  Submitted by:	greg at unrelenting.technology (maintainer)

Modified:
  head/lang/ponyc/Makefile

Modified: head/lang/ponyc/Makefile
==============================================================================
--- head/lang/ponyc/Makefile	Sat Jan 26 12:20:05 2019	(r491272)
+++ head/lang/ponyc/Makefile	Sat Jan 26 12:29:22 2019	(r491273)
@@ -63,6 +63,10 @@ MAKE_ENV+=	default_ssl=openssl_1.1.0
 .endif
 
 .if ${CHOSEN_COMPILER_TYPE} == clang
+# Building the bitcode with clang70 and linking with llvm50 fails,
+# so let's use the clang from the LLVM version that will be used by ponyc
+CC=		${LOCALBASE}/bin/clang${LLVM_VERSION}
+CXX=		${LOCALBASE}/bin/clang++${LLVM_VERSION}
 MAKE_ENV+=	runtime-bitcode=yes
 PLIST_SUB+=	BITCODE=""
 .else


More information about the svn-ports-head mailing list