openbsd-ports/devel/llvm/patches/patch-CMakeLists_txt
brad cc75b05c01 Update to LLVM 3.2 and switces to __guard_local for stack protector support.
Initial work from landry@ with some fixes and further tweaking from pascal@ and brad@

ok sthen@ landry@
2012-12-23 20:49:29 +00:00

16 lines
596 B
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.2 2012/12/23 20:49:29 brad Exp $
Don't confuse scripts who want the version with appended 'svn' goo.
--- CMakeLists.txt.orig Fri Sep 28 19:35:20 2012
+++ CMakeLists.txt Mon Dec 10 19:22:46 2012
@@ -13,7 +13,7 @@ set(CMAKE_MODULE_PATH
set(LLVM_VERSION_MAJOR 3)
set(LLVM_VERSION_MINOR 2)
-set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}svn")
+set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}")
option(LLVM_USE_FOLDERS "Enable solution folders in Visual Studio. Disable for Express versions." ON)
if ( LLVM_USE_FOLDERS )