summaryrefslogtreecommitdiff
path: root/dev-util/cpp-dependency-analyzer/files
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-07-22 23:30:50 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2010-07-22 23:30:50 +0200
commit3b29134361f5700ef3b4e299c860b7565f07e5ab (patch)
treea69fe1900f1466faddcf42d37441693ce83cce9f /dev-util/cpp-dependency-analyzer/files
parent506c932b943f63f9d37830546209d9512a787741 (diff)
downloadkde-3b29134361f5700ef3b4e299c860b7565f07e5ab.tar.gz
kde-3b29134361f5700ef3b4e299c860b7565f07e5ab.tar.bz2
kde-3b29134361f5700ef3b4e299c860b7565f07e5ab.zip
[dev-util/cpp-dependency-analyzer] Add live cpp-dependency-analyzer ebuild
Diffstat (limited to 'dev-util/cpp-dependency-analyzer/files')
-rw-r--r--dev-util/cpp-dependency-analyzer/files/cpp-dependency-analyzer-9999-multilib.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-util/cpp-dependency-analyzer/files/cpp-dependency-analyzer-9999-multilib.patch b/dev-util/cpp-dependency-analyzer/files/cpp-dependency-analyzer-9999-multilib.patch
new file mode 100644
index 00000000000..46c65d23b3b
--- /dev/null
+++ b/dev-util/cpp-dependency-analyzer/files/cpp-dependency-analyzer-9999-multilib.patch
@@ -0,0 +1,34 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0dd2c31..a6d8467 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,6 +2,8 @@ project(FactExtractor)
+
+ cmake_minimum_required(VERSION 2.6)
+
++set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
++
+ if (CMAKE_COMPILER_IS_GNUCXX)
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors")
+ if (NOT MINGW)
+diff --git a/libs/compilerprofile/CMakeLists.txt b/libs/compilerprofile/CMakeLists.txt
+index 97a46cb..b081cbb 100644
+--- a/libs/compilerprofile/CMakeLists.txt
++++ b/libs/compilerprofile/CMakeLists.txt
+@@ -21,4 +21,4 @@ set_target_properties(compilerprofile PROPERTIES
+ DEFINE_SYMBOL MAKE_CPP_COMPILERPROFILE_LIB
+ )
+
+-install(TARGETS compilerprofile DESTINATION lib)
++install(TARGETS compilerprofile DESTINATION lib${LIB_SUFFIX})
+diff --git a/libs/project/CMakeLists.txt b/libs/project/CMakeLists.txt
+index 1299860..3c04bf7 100644
+--- a/libs/project/CMakeLists.txt
++++ b/libs/project/CMakeLists.txt
+@@ -22,5 +22,5 @@ set_target_properties(project PROPERTIES
+ DEFINE_SYMBOL MAKE_CPP_PROJECT_LIB
+ )
+
+-install(TARGETS project DESTINATION lib)
++install(TARGETS project DESTINATION lib${LIB_SUFFIX})
+