- drop the 'svn' suffix from llvm-config --version output.

ok sthen@
This commit is contained in:
jasper 2012-10-16 18:22:30 +00:00
parent ec590d6c57
commit 9319ac3f2e
2 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.54 2012/09/30 09:16:36 sthen Exp $
# $OpenBSD: Makefile,v 1.55 2012/10/16 18:22:30 jasper Exp $
# XXX: Remember to bump MODCLANG_VERSION in lang/clang/clang.port.mk when
# updating this port.
@ -10,7 +10,7 @@ COMMENT = modular, fast C/C++/ObjC compiler, static analyzer and tools
LLVM_V = 3.1
DISTNAME = llvm-${LLVM_V}.src
PKGNAME = llvm-${LLVM_V}
REVISION = 8
REVISION = 9
CATEGORIES = devel
# packager notes in http://llvm.org/docs/Packaging.html

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1 2012/10/16 18:22:30 jasper Exp $
Don't confuse scripts who want the version with appended 'svn' goo.
--- CMakeLists.txt.orig Tue Oct 16 11:08:28 2012
+++ CMakeLists.txt Tue Oct 16 11:08:41 2012
@@ -13,7 +13,7 @@ set(CMAKE_MODULE_PATH
set(LLVM_VERSION_MAJOR 3)
set(LLVM_VERSION_MINOR 1)
-set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}svn")
+set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}")
set_property(GLOBAL PROPERTY USE_FOLDERS ON)