aboutsummaryrefslogtreecommitdiffstats
path: root/main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-08 01:13:08 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-08 01:14:03 +0200
commit25342369e092f664b463308bf63f94f710a52702 (patch)
tree81ab833e2bdf34e50aaaa4c9b96fb068aba28f6a /main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch
parentb3dfe7548c17e23f4a34494667b4d7f0bb0097be (diff)
downloadaports-25342369e092f664b463308bf63f94f710a52702.tar.bz2
aports-25342369e092f664b463308bf63f94f710a52702.tar.xz
main/llvm5: fix silly typo in patch for LLVMConfig.cmake
Diffstat (limited to 'main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch')
-rw-r--r--main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch b/main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch
index cb93745fb4..b7e3dbe294 100644
--- a/main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch
+++ b/main/llvm5/fix-LLVMConfig-cmake-install-prefix.patch
@@ -18,7 +18,7 @@ This is needed e.g. for building lldb.
- set(LLVM_CONFIG_CODE "${LLVM_CONFIG_CODE}
-get_filename_component(LLVM_INSTALL_PREFIX \"\${LLVM_INSTALL_PREFIX}\" PATH)")
-endforeach(p)
-+set(LLVM_INSTALL_PREFIX, \"${CMAKE_INSTALL_PREFIX}\")")
++set(LLVM_INSTALL_PREFIX \"${CMAKE_INSTALL_PREFIX}\")")
set(LLVM_CONFIG_INCLUDE_DIRS "\${LLVM_INSTALL_PREFIX}/include")
set(LLVM_CONFIG_LIBRARY_DIRS "\${LLVM_INSTALL_PREFIX}/lib\${LLVM_LIBDIR_SUFFIX}")
set(LLVM_CONFIG_CMAKE_DIR "\${LLVM_INSTALL_PREFIX}/${LLVM_INSTALL_PACKAGE_DIR}")