svn commit: r457504 - head/devel/ispc

Alexey Dokuchaev danfe at FreeBSD.org
Fri Dec 29 11:16:54 UTC 2017


Author: danfe
Date: Fri Dec 29 11:16:52 2017
New Revision: 457504
URL: https://svnweb.freebsd.org/changeset/ports/457504

Log:
  - Change the default LLVM version to 5.0, to remain in sync with Mesa
    (to keep the number of LLVM ports to build/install to just one)
  - Temporarily (I hope) pass -lexecinfo to work-around linking problem
    (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223191#c3)
  
  Approved by:	maintainer (LLVM version bump)

Modified:
  head/devel/ispc/Makefile

Modified: head/devel/ispc/Makefile
==============================================================================
--- head/devel/ispc/Makefile	Fri Dec 29 09:28:51 2017	(r457503)
+++ head/devel/ispc/Makefile	Fri Dec 29 11:16:52 2017	(r457504)
@@ -23,7 +23,7 @@ USE_GITHUB=	yes
 
 ALL_TARGET=	default
 MAKE_ENV=	LLVM_HOME="${LOCALBASE}"
-CLANG_VERSION=	40
+CLANG_VERSION=	50
 SHEBANG_FILES=	*.py
 
 MAKE_ARGS=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${CLANG_VERSION} \
@@ -35,6 +35,10 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}| ; s|@$$(C|$$(C|' \
 		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e '/alloca\.h/d' ${WRKSRC}/util.cpp
+.if ${CLANG_VERSION} >= 50
+	@${REINPLACE_CMD} -e '/^LLVM_LIBS=/s|$$| -lexecinfo|' \
+		${WRKSRC}/Makefile
+.endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ispc ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-head mailing list