FreeBSD Bugzilla – Attachment 168644 Details for
Bug 208302
editors/codelite: fix clang 3.7, add clang 3.8, fix brief comment support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Makefile patch
make.patch (text/plain), 3.27 KB, created by
Ivan Rozhuk
on 2016-03-26 09:32:51 UTC
(
hide
)
Description:
Makefile patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2016-03-26 09:32:51 UTC
Size:
3.27 KB
patch
obsolete
>Index: /usr/ports/editors/codelite/Makefile >=================================================================== >--- /usr/ports/editors/codelite/Makefile (revision 411914) >+++ /usr/ports/editors/codelite/Makefile (working copy) >@@ -21,8 +21,7 @@ > SHEBANG_FILES= Runtime/codelite_xterm > bash_CMD= /bin/sh > USE_WX= 3.0 >-CMAKE_ARGS= -DENABLE_LLDB:STRING=0 \ >- -DPREFIX:STRING="${PREFIX}" \ >+CMAKE_ARGS= -DPREFIX:STRING="${PREFIX}" \ > -DIS_FREEBSD:STRING=1 \ > -DCL_WX_CONFIG:STRING="${WX_CONFIG:T}" > USE_LDCONFIG= ${PREFIX}/lib/codelite >@@ -33,7 +32,7 @@ > > OPTIONS_DEFINE= CSCOPE SFTP > OPTIONS_RADIO= CLANG >-OPTIONS_RADIO_CLANG= CLANG34 CLANG35 CLANG36 CLANG37 >+OPTIONS_RADIO_CLANG= CLANG34 CLANG35 CLANG36 CLANG37 CLANG38 > OPTIONS_SUB= yes > > CLANG_DESC= Clang code-completion >@@ -49,6 +48,9 @@ > CLANG37_DESC= Clang 3.7.x > CLANG37_BUILD_DEPENDS= clang37>0:${PORTSDIR}/lang/clang37 > CLANG37_RUN_DEPENDS= clang37>0:${PORTSDIR}/lang/clang37 >+CLANG38_DESC= Clang 3.8.x >+CLANG38_BUILD_DEPENDS= clang38>0:${PORTSDIR}/lang/clang38 >+CLANG38_RUN_DEPENDS= clang38>0:${PORTSDIR}/lang/clang38 > CSCOPE_DESC= CScope integration > CSCOPE_RUN_DEPENDS= cscope:${PORTSDIR}/devel/cscope > SFTP_DESC= Secure FTP support via libssh >@@ -58,10 +60,10 @@ > > .include <bsd.port.options.mk> > >-.if ${PORT_OPTIONS:MCLANG34} || ${PORT_OPTIONS:MCLANG35} || ${PORT_OPTIONS:MCLANG36} >-CMAKE_ARGS+= -DENABLE_CLANG:STRING=1 >+.if ${PORT_OPTIONS:MCLANG34} || ${PORT_OPTIONS:MCLANG35} || ${PORT_OPTIONS:MCLANG36} || ${PORT_OPTIONS:MCLANG37} || ${PORT_OPTIONS:MCLANG38} >+CMAKE_ARGS+= -DENABLE_LLDB:STRING=1 -DENABLE_CLANG:STRING=1 > .else >-CMAKE_ARGS+= -DENABLE_CLANG:STRING=0 >+CMAKE_ARGS+= -DENABLE_LLDB:STRING=0 -DENABLE_CLANG:STRING=0 > .endif > > post-patch: >@@ -83,20 +85,49 @@ > @${REINPLACE_CMD} -e \ > '/ADDITIONAL_LIBRARIES/s|""|"-lexecinfo"|' \ > ${WRKSRC}/sdk/codelite_cppcheck/CMakeLists.txt >+# Fix grep path >+ @${REINPLACE_CMD} -e \ >+ 's|/bin/grep|/usr/bin/grep|' \ >+ ${WRKSRC}/cmake/Modules/FindLibClang.cmake > > post-patch-CLANG34-on: > @${REINPLACE_CMD} -e \ > 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm34/|' \ > ${WRKSRC}/cmake/Modules/FindLibClang.cmake >+ @${REINPLACE_CMD} -e \ >+ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm34/|' \ >+ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake > > post-patch-CLANG35-on: > @${REINPLACE_CMD} -e \ > 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm35/|' \ > ${WRKSRC}/cmake/Modules/FindLibClang.cmake >+ @${REINPLACE_CMD} -e \ >+ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm35/|' \ >+ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake > > post-patch-CLANG36-on: > @${REINPLACE_CMD} -e \ > 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm36/|' \ > ${WRKSRC}/cmake/Modules/FindLibClang.cmake >+ @${REINPLACE_CMD} -e \ >+ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm36/|' \ >+ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake > >+post-patch-CLANG37-on: >+ @${REINPLACE_CMD} -e \ >+ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm37/|' \ >+ ${WRKSRC}/cmake/Modules/FindLibClang.cmake >+ @${REINPLACE_CMD} -e \ >+ 's|#/usr/lib/llvm-.*/|${LOCALBASE}/llvm37/|' \ >+ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake >+ >+post-patch-CLANG38-on: >+ @${REINPLACE_CMD} -e \ >+ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm38/|' \ >+ ${WRKSRC}/cmake/Modules/FindLibClang.cmake >+ @${REINPLACE_CMD} -e \ >+ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm38/|' \ >+ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake >+ > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208302
:
168644
|
170851
|
171464
|
171638
|
171641
|
171649