1 |
commit: 17bad73aea37d3a55e0cdff3e7e01117ea24773e |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 13 12:25:33 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 13 14:05:28 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17bad73a |
7 |
|
8 |
sci-biology/bamtools: Add missing die and drop old patch |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
sci-biology/bamtools/bamtools-2.3.0.ebuild | 4 ++- |
14 |
.../bamtools/files/bamtools-2.2.3-unbundle.patch | 32 ---------------------- |
15 |
2 files changed, 3 insertions(+), 33 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/bamtools/bamtools-2.3.0.ebuild b/sci-biology/bamtools/bamtools-2.3.0.ebuild |
18 |
index 5b6468c..b2d7d62 100644 |
19 |
--- a/sci-biology/bamtools/bamtools-2.3.0.ebuild |
20 |
+++ b/sci-biology/bamtools/bamtools-2.3.0.ebuild |
21 |
@@ -25,5 +25,7 @@ PATCHES=( "${FILESDIR}"/${P}-unbundle.patch ) |
22 |
|
23 |
src_install() { |
24 |
cmake-utils_src_install |
25 |
- use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a |
26 |
+ if ! use static-libs; then |
27 |
+ rm "${ED}"/usr/$(get_libdir)/*.a || die |
28 |
+ fi |
29 |
} |
30 |
|
31 |
diff --git a/sci-biology/bamtools/files/bamtools-2.2.3-unbundle.patch b/sci-biology/bamtools/files/bamtools-2.2.3-unbundle.patch |
32 |
deleted file mode 100644 |
33 |
index 318396e..0000000 |
34 |
--- a/sci-biology/bamtools/files/bamtools-2.2.3-unbundle.patch |
35 |
+++ /dev/null |
36 |
@@ -1,32 +0,0 @@ |
37 |
- src/CMakeLists.txt | 1 - |
38 |
- src/api/CMakeLists.txt | 4 ++-- |
39 |
- src/toolkit/bamtools_filter.cpp | 2 +- |
40 |
- 3 files changed, 3 insertions(+), 4 deletions(-) |
41 |
- |
42 |
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
43 |
-index e359695..2bd2185 100644 |
44 |
---- a/src/CMakeLists.txt |
45 |
-+++ b/src/CMakeLists.txt |
46 |
-@@ -6,7 +6,6 @@ |
47 |
- # ========================== |
48 |
- |
49 |
- add_subdirectory( api ) |
50 |
--add_subdirectory( third_party ) |
51 |
- add_subdirectory( toolkit ) |
52 |
- add_subdirectory( utils ) |
53 |
- |
54 |
-diff --git a/src/api/CMakeLists.txt b/src/api/CMakeLists.txt |
55 |
-index 66eb35f..65f4639 100644 |
56 |
---- a/src/api/CMakeLists.txt |
57 |
-+++ b/src/api/CMakeLists.txt |
58 |
-@@ -54,8 +54,8 @@ target_link_libraries( BamTools ${APILibs} ) |
59 |
- target_link_libraries( BamTools-static ${APILibs} ) |
60 |
- |
61 |
- # set library install destinations |
62 |
--install( TARGETS BamTools LIBRARY DESTINATION "lib/bamtools" RUNTIME DESTINATION "bin") |
63 |
--install( TARGETS BamTools-static ARCHIVE DESTINATION "lib/bamtools") |
64 |
-+install( TARGETS BamTools LIBRARY DESTINATION "lib${LIB_SUFFIX}" RUNTIME DESTINATION "bin") |
65 |
-+install( TARGETS BamTools-static ARCHIVE DESTINATION "lib${LIB_SUFFIX}") |
66 |
- |
67 |
- # export API headers |
68 |
- include(../ExportHeader.cmake) |