aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx/files
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-07-09 21:36:23 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-07-09 21:36:23 +0000
commit7c39c6f5c3681ba503be50ad079bfef07187257e (patch)
tree328f4040905cd9c17fb8ba6ca18cf06a13a48c73 /chinese/fcitx/files
parentc40104f2f1f279d0856e3d9b7e73045fa1c929d8 (diff)
downloadports-7c39c6f5c3681ba503be50ad079bfef07187257e.tar.gz
ports-7c39c6f5c3681ba503be50ad079bfef07187257e.zip
Notes
Diffstat (limited to 'chinese/fcitx/files')
-rw-r--r--chinese/fcitx/files/patch-cmake_modules_FindLibkvm.cmake34
1 files changed, 34 insertions, 0 deletions
diff --git a/chinese/fcitx/files/patch-cmake_modules_FindLibkvm.cmake b/chinese/fcitx/files/patch-cmake_modules_FindLibkvm.cmake
new file mode 100644
index 000000000000..f79e91036651
--- /dev/null
+++ b/chinese/fcitx/files/patch-cmake_modules_FindLibkvm.cmake
@@ -0,0 +1,34 @@
+diff --git a/cmake/FindLibkvm.cmake b/cmake/FindLibkvm.cmake
+index a66b85d..4453fd4 100644
+--- cmake/FindLibkvm.cmake
++++ cmake/FindLibkvm.cmake
+@@ -5,23 +5,11 @@
+ # LIBKVM_INCLUDE_DIR - Libkvm include directory
+ # LIBKVM_LIBRARIES - Libraries needed to use Libkvm
+ #
+-
+-if(LIBKVM_INCLUDE_DIR AND LIBKVM_FOUND)
+- set(Libkvm_FIND_QUIETLY TRUE)
+-endif(LIBKVM_INCLUDE_DIR AND LIBKVM_FOUND)
+-
++
+ find_path(LIBKVM_INCLUDE_DIR kvm.h)
+-
+-set(LIBKVM_FOUND FALSE)
+-
+-if(LIBKVM_INCLUDE_DIR)
+- find_library(LIBKVM_LIBRARIES NAMES kvm)
+- if(LIBKVM_LIBRARIES)
+- set(LIBKVM_FOUND TRUE)
+- endif(LIBKVM_LIBRARIES)
+-endif(LIBKVM_INCLUDE_DIR)
+-
++find_library(LIBKVM_LIBRARIES NAMES kvm)
++
+ include(FindPackageHandleStandardArgs)
+-find_package_handle_standard_args(Libkvm DEFAULT_MSG LIBKVM_INCLUDE_DIR LIBKVM_FOUND)
+-
+-mark_as_advanced(LIBKVM_INCLUDE_DIR LIBKVM_LIBRARIES LIBKVM_LIBC_HAS_KVM_OPEN LIBKVM_FOUND)
++find_package_handle_standard_args(Libkvm DEFAULT_MSG LIBKVM_INCLUDE_DIR LIBKVM_LIBRARIES)
++
++mark_as_advanced(LIBKVM_INCLUDE_DIR LIBKVM_LIBRARIES)