svn commit: r394417 - in head/editors/codelite: . files
Boris Samorodov
bsam at FreeBSD.org
Sun Aug 16 18:25:56 UTC 2015
Author: bsam
Date: Sun Aug 16 18:25:55 2015
New Revision: 394417
URL: https://svnweb.freebsd.org/changeset/ports/394417
Log:
editors/codelite: Fix clang code completion.
Let the port detect clang versions 3.3-3.6.
Remove duplicate pkg-plist locales.
Added:
head/editors/codelite/files/patch-cmake_Modules_FindLibClang.cmake (contents, props changed)
Modified:
head/editors/codelite/pkg-plist
Added: head/editors/codelite/files/patch-cmake_Modules_FindLibClang.cmake
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/codelite/files/patch-cmake_Modules_FindLibClang.cmake Sun Aug 16 18:25:55 2015 (r394417)
@@ -0,0 +1,26 @@
+--- cmake/Modules/FindLibClang.cmake.orig 2015-08-16 12:16:16.000000000 +0300
++++ cmake/Modules/FindLibClang.cmake 2015-08-16 12:18:08.000000000 +0300
+@@ -12,6 +12,11 @@
+ # For fedora
+ /usr/lib/llvm
+ /usr/lib64/llvm
++ # For FreeBSD
++ /usr/local/llvm36/lib
++ /usr/local/llvm35/lib
++ /usr/local/llvm34/lib
++ /usr/local/llvm33/lib
+ ${CMAKE_INSTALL_LIBDIR})
+
+ find_path(LIBCLANG_INCLUDE_T NAMES clang-c/Index.h
+@@ -28,6 +33,11 @@
+ /usr/local/include
+ # For fedora
+ /usr/include
++ # For FreeBSD
++ /usr/local/llvm36/include
++ /usr/local/llvm35/include
++ /usr/local/llvm34/include
++ /usr/local/llvm33/include
+ )
+
+ if ( LIBCLANG_T STREQUAL "LIBCLANG_T-NOTFOUND" OR LIBCLANG_INCLUDE_T STREQUAL "LIBCLANG_INCLUDE_T-NOTFOUND" )
Modified: head/editors/codelite/pkg-plist
==============================================================================
--- head/editors/codelite/pkg-plist Sun Aug 16 18:23:57 2015 (r394416)
+++ head/editors/codelite/pkg-plist Sun Aug 16 18:25:55 2015 (r394417)
@@ -1,6 +1,3 @@
-%%CLANG%%bin/codelite-clang
-%%CLANG%%bin/codelite-clang-format
-%%CLANG%%lib/codelite/libclang.so
bin/clg++
bin/clgcc
bin/codelite
@@ -279,5 +276,3 @@ man/man1/codelite_fix_files.1.gz
%%NLS%%share/locale/zh_CN/LC_MESSAGES/codelite.mo
share/applications/codelite.desktop
share/icons/hicolor/32x32/apps/codelite.png
-share/locale/cs/LC_MESSAGES/codelite.mo
-share/locale/zh_CN/LC_MESSAGES/codelite.mo
More information about the svn-ports-all
mailing list