mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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)
This commit is contained in:
parent
6e4023b93b
commit
5cc5bbbb48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457504
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue