From owner-svn-ports-all@freebsd.org Fri Dec 29 11:16:54 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35724E82BF2; Fri, 29 Dec 2017 11:16:54 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F420C66035; Fri, 29 Dec 2017 11:16:53 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBTBGrXY072419; Fri, 29 Dec 2017 11:16:53 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBTBGrah072418; Fri, 29 Dec 2017 11:16:53 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201712291116.vBTBGrah072418@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Fri, 29 Dec 2017 11:16:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457504 - head/devel/ispc X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/devel/ispc X-SVN-Commit-Revision: 457504 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Dec 2017 11:16:54 -0000 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