diff options
author | 2012-10-04 13:05:42 +0000 | |
---|---|---|
committer | 2012-10-04 13:05:42 +0000 | |
commit | 5da0eeab069661ffd1e6837fb779d16cf56c5ba4 (patch) | |
tree | f9ae748619a6a0314f5c8eb921fcaa715d5a2c08 /dev-libs/libattica/files | |
parent | stable arm, bug #436894 (diff) | |
download | gentoo-2-5da0eeab069661ffd1e6837fb779d16cf56c5ba4.tar.gz gentoo-2-5da0eeab069661ffd1e6837fb779d16cf56c5ba4.tar.bz2 gentoo-2-5da0eeab069661ffd1e6837fb779d16cf56c5ba4.zip |
Build tests conditionally, backporting a patch from upstream to correct a dependency issue. Fixes bug #434670.
(Portage version: 2.1.11.24/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libattica/files')
-rw-r--r-- | dev-libs/libattica/files/libattica-0.4.1-automagic.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/libattica/files/libattica-0.4.1-automagic.patch b/dev-libs/libattica/files/libattica-0.4.1-automagic.patch new file mode 100644 index 000000000000..3c1ea1d55917 --- /dev/null +++ b/dev-libs/libattica/files/libattica-0.4.1-automagic.patch @@ -0,0 +1,36 @@ +From 1d930b3b6b7c9b4d8ba94f5f390519161ad623c5 Mon Sep 17 00:00:00 2001 +From: Michael Palimaka <kensington@gentoo.org> +Date: Thu, 4 Oct 2012 22:51:24 +1000 +Subject: [PATCH] Make the dependency check for QtTest conditional - it is + only required to build tests. + +REVIEW: 106706 +--- + lib/CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt +index 49a74ef..a8114d9 100644 +--- a/lib/CMakeLists.txt ++++ b/lib/CMakeLists.txt +@@ -12,7 +12,6 @@ set(QT_MIN_VERSION "4.7.0") + find_package(Qt5Transitional REQUIRED + Core + Network +- Test + ) + + # TODO: Remove me once fixed in ECM module +@@ -189,6 +188,9 @@ endif(NOT WIN32) + + # Add the optional subdirectory with unit tests + if (ATTICA_ENABLE_TESTS) ++ find_package(Qt5Transitional REQUIRED ++ Test ++ ) + add_subdirectory(tests) + endif (ATTICA_ENABLE_TESTS) + +-- +1.7.12 + |