From 3b29134361f5700ef3b4e299c860b7565f07e5ab Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Thu, 22 Jul 2010 23:30:50 +0200 Subject: [dev-util/cpp-dependency-analyzer] Add live cpp-dependency-analyzer ebuild --- .../cpp-dependency-analyzer-9999-multilib.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-util/cpp-dependency-analyzer/files/cpp-dependency-analyzer-9999-multilib.patch (limited to 'dev-util/cpp-dependency-analyzer/files') 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}) + -- cgit v1.2.3