1 |
commit: 1aca3e5aae88192ca717e47c5a947ef806b69b2e |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Wed Jun 25 20:58:36 2014 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Wed Jun 25 20:58:36 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1aca3e5a |
7 |
|
8 |
sci-biology/ncbi-tools++-12.0.0: first compile-able ebuild, wow, huge thanks to Aaron Ucko from NCBI developers on the cpp@ mailing list |
9 |
|
10 |
--- |
11 |
.../files/ncbi-tools++-12.0.0-as-needed.patch | 2 +- |
12 |
...cbi-tools++-12.0.0-linkage-tuneups-addons.patch | 13 + |
13 |
.../ncbi-tools++-12.0.0-linkage-tuneups.patch | 421 +++++++++++++++++++++ |
14 |
.../ncbi-tools++/ncbi-tools++-12.0.0.ebuild | 14 +- |
15 |
4 files changed, 444 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-as-needed.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-as-needed.patch |
18 |
index e97c77f..a9d166e 100644 |
19 |
--- a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-as-needed.patch |
20 |
+++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-as-needed.patch |
21 |
@@ -344,7 +344,7 @@ index 872b92e..78261eb 100644 |
22 |
CXXFLAGS = $(FAST_CXXFLAGS) |
23 |
LDFLAGS = $(FAST_LDFLAGS) |
24 |
+ |
25 |
-+DLL_LIB = xutil omssa pepXML xcompress xconnect seqdb xblast xregexp |
26 |
++DLL_LIB = xutil omssa pepXML xcompress xconnect seqdb blast xregexp |
27 |
diff --git a/src/algo/phy_tree/Makefile.xalgophytree.lib b/src/algo/phy_tree/Makefile.xalgophytree.lib |
28 |
index c7e2778..51ebe9d 100644 |
29 |
--- a/src/algo/phy_tree/Makefile.xalgophytree.lib |
30 |
|
31 |
diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-linkage-tuneups-addons.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-linkage-tuneups-addons.patch |
32 |
new file mode 100644 |
33 |
index 0000000..553e41d |
34 |
--- /dev/null |
35 |
+++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-linkage-tuneups-addons.patch |
36 |
@@ -0,0 +1,13 @@ |
37 |
+--- ncbi_cxx--12_0_0/src/app/agpconvert/Makefile.agpconvert.app.ori (revision 439078) |
38 |
++++ ncbi_cxx--12_0_0/src/app/agpconvert/Makefile.agpconvert.app (working copy) |
39 |
+@@ -7,8 +7,8 @@ |
40 |
+ SRC = agpconvert |
41 |
+ |
42 |
+ LIB = xalgoseq xobjedit $(OBJREAD_LIBS) taxon1 xalnmgr xobjutil submit \ |
43 |
+- ncbi_xdbapi_ftds $(FTDS_LIB) tables xregexp $(PCRE_LIB) $(OBJMGR_LIBS) |
44 |
+-LIBS = $(FTDS_LIBS) $(CMPRS_LIBS) $(PCRE_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
45 |
++ tables xregexp $(PCRE_LIB) $(OBJMGR_LIBS) |
46 |
++LIBS = $(CMPRS_LIBS) $(PCRE_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
47 |
+ |
48 |
+ CXXFLAGS = $(FAST_CXXFLAGS) |
49 |
+ LDFLAGS = $(FAST_LDFLAGS) |
50 |
|
51 |
diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-linkage-tuneups.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-linkage-tuneups.patch |
52 |
new file mode 100644 |
53 |
index 0000000..86e96b8 |
54 |
--- /dev/null |
55 |
+++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-linkage-tuneups.patch |
56 |
@@ -0,0 +1,421 @@ |
57 |
+Index: src/algo/blast/format/Makefile.xblastformat.lib |
58 |
+=================================================================== |
59 |
+--- src/algo/blast/format/Makefile.xblastformat.lib (revision 439078) |
60 |
++++ src/algo/blast/format/Makefile.xblastformat.lib (working copy) |
61 |
+@@ -7,6 +7,6 @@ |
62 |
+ |
63 |
+ CPPFLAGS = -DNCBI_MODULE=BLASTFORMAT $(ORIG_CPPFLAGS) |
64 |
+ |
65 |
+-DLL_LIB = align_format blastxml xhtml xcgi |
66 |
++DLL_LIB = align_format xblast xnetblast blastxml xhtml xcgi |
67 |
+ |
68 |
+ WATCHERS = jianye zaretska madden camacho fongah2 |
69 |
+Index: src/app/compart/Makefile.compart.app |
70 |
+=================================================================== |
71 |
+--- src/app/compart/Makefile.compart.app (revision 439078) |
72 |
++++ src/app/compart/Makefile.compart.app (working copy) |
73 |
+@@ -5,11 +5,11 @@ |
74 |
+ APP = compart |
75 |
+ SRC = compart |
76 |
+ |
77 |
+-LIB = xalgoalignutil xalgoalignsplign xalgoalignnw xqueryparse xalnmgr \ |
78 |
+- $(BLAST_LIBS:%=%$(STATIC)) \ |
79 |
+- $(OBJMGR_LIBS:%=%$(STATIC)) |
80 |
++LIB = xalgoalignutil xalgoalignsplign xalgoalignnw xalgoseq \ |
81 |
++ taxon1 xalnmgr xqueryparse xregexp $(PCRE_LIB) \ |
82 |
++ $(BLAST_LIBS:%=%$(STATIC)) $(OBJMGR_LIBS:%=%$(STATIC)) |
83 |
+ |
84 |
+-LIBS = $(CMPRS_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
85 |
++LIBS = $(PCRE_LIBS) $(CMPRS_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
86 |
+ |
87 |
+ CXXFLAGS = $(FAST_CXXFLAGS) |
88 |
+ LDFLAGS = $(FAST_LDFLAGS) |
89 |
+Index: src/app/compart/Makefile.compartp.app |
90 |
+=================================================================== |
91 |
+--- src/app/compart/Makefile.compartp.app (revision 439078) |
92 |
++++ src/app/compart/Makefile.compartp.app (working copy) |
93 |
+@@ -5,7 +5,8 @@ |
94 |
+ APP = compartp |
95 |
+ SRC = compartp |
96 |
+ |
97 |
+-LIB = prosplign xalgoalignutil $(BLAST_LIBS) xqueryparse $(OBJMGR_LIBS) |
98 |
++LIB = prosplign xalgoalignutil xalgoseq taxon1 $(BLAST_LIBS) \ |
99 |
++ xqueryparse xregexp $(PCRE_LIB) $(OBJMGR_LIBS) |
100 |
+ |
101 |
+ LIBS = $(CMPRS_LIBS) $(PCRE_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
102 |
+ |
103 |
+Index: src/app/grid/util/Makefile.ncfetch.app |
104 |
+=================================================================== |
105 |
+--- src/app/grid/util/Makefile.ncfetch.app (revision 439078) |
106 |
++++ src/app/grid/util/Makefile.ncfetch.app (working copy) |
107 |
+@@ -5,7 +5,7 @@ |
108 |
+ APP = ncfetch.cgi |
109 |
+ SRC = ncfetch |
110 |
+ |
111 |
+-LIB = xcgi xconnserv xconnect xutil xncbi |
112 |
++LIB = xcgi xconnserv xthrserv xconnect xutil xncbi |
113 |
+ LIBS = $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
114 |
+ |
115 |
+ WATCHERS = kazimird |
116 |
+Index: src/app/hfilter/Makefile.hfilter.app |
117 |
+=================================================================== |
118 |
+--- src/app/hfilter/Makefile.hfilter.app (revision 439078) |
119 |
++++ src/app/hfilter/Makefile.hfilter.app (working copy) |
120 |
+@@ -5,9 +5,10 @@ |
121 |
+ APP = hfilter |
122 |
+ SRC = hitfilter_app |
123 |
+ |
124 |
+-LIB = xalgoalignutil $(BLAST_LIBS) xqueryparse $(OBJMGR_LIBS) |
125 |
++LIB = xalgoalignutil xalgoseq taxon1 $(BLAST_LIBS) xqueryparse \ |
126 |
++ xregexp $(PCRE_LIB) $(OBJMGR_LIBS) |
127 |
+ |
128 |
+-LIBS = $(CMPRS_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
129 |
++LIBS = $(PCRE_LIBS) $(CMPRS_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
130 |
+ |
131 |
+ CXXFLAGS = $(FAST_CXXFLAGS) |
132 |
+ LDFLAGS = $(FAST_LDFLAGS) |
133 |
+Index: src/app/speedtest/Makefile.speedtest.app |
134 |
+=================================================================== |
135 |
+--- src/app/speedtest/Makefile.speedtest.app (revision 439078) |
136 |
++++ src/app/speedtest/Makefile.speedtest.app (working copy) |
137 |
+@@ -8,7 +8,7 @@ |
138 |
+ |
139 |
+ APP = speedtest |
140 |
+ SRC = speedtest |
141 |
+-LIB = prosplign xalgoalignutil xcleanup submit $(BLAST_LIBS) \ |
142 |
++LIB = prosplign xalgoalignutil xalgoseq xcleanup taxon1 submit $(BLAST_LIBS) \ |
143 |
+ xqueryparse xregexp $(PCRE_LIB) $(OBJMGR_LIBS:%=%$(STATIC)) |
144 |
+ |
145 |
+ LIBS = $(CMPRS_LIBS) $(DL_LIBS) $(PCRE_LIBS) $(ORIG_LIBS) |
146 |
+Index: src/app/splign/Makefile.splign.app |
147 |
+=================================================================== |
148 |
+--- src/app/splign/Makefile.splign.app (revision 439078) |
149 |
++++ src/app/splign/Makefile.splign.app (working copy) |
150 |
+@@ -12,7 +12,7 @@ |
151 |
+ LIB = xalgoalignsplign xalgoalignutil xalgoalignnw \ |
152 |
+ $(BLAST_DB_DATA_LOADER_LIBS) \ |
153 |
+ ncbi_xloader_lds2 lds2 sqlitewrapp \ |
154 |
+- xqueryparse xalgoseq $(PCRE_LIB) \ |
155 |
++ xqueryparse xalgoseq taxon1 xregexp $(PCRE_LIB) \ |
156 |
+ $(BLAST_LIBS:%=%$(STATIC)) submit \ |
157 |
+ $(OBJMGR_LIBS:%=%$(STATIC)) |
158 |
+ |
159 |
+Index: src/connect/services/test/Makefile.test_nsstorage.app |
160 |
+=================================================================== |
161 |
+--- src/connect/services/test/Makefile.test_nsstorage.app (revision 439078) |
162 |
++++ src/connect/services/test/Makefile.test_nsstorage.app (working copy) |
163 |
+@@ -2,7 +2,7 @@ |
164 |
+ |
165 |
+ APP = test_nsstorage |
166 |
+ SRC = test_nsstorage |
167 |
+-LIB = xconnserv xconnect xutil xncbi |
168 |
++LIB = xconnserv xthrserv xconnect xutil xncbi |
169 |
+ |
170 |
+ LIBS = $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
171 |
+ |
172 |
+Index: src/misc/hgvs/test/Makefile.hgvs2variation.app |
173 |
+=================================================================== |
174 |
+--- src/misc/hgvs/test/Makefile.hgvs2variation.app (revision 439078) |
175 |
++++ src/misc/hgvs/test/Makefile.hgvs2variation.app (working copy) |
176 |
+@@ -6,7 +6,7 @@ |
177 |
+ |
178 |
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BOOST_INCLUDE) |
179 |
+ |
180 |
+-LIB_ = hgvs variation \ |
181 |
++LIB_ = hgvs objcoords variation \ |
182 |
+ entrez2cli entrez2 xregexp $(PCRE_LIB) xobjutil $(OBJMGR_LIBS) |
183 |
+ LIB = $(LIB_:%=%$(STATIC)) |
184 |
+ |
185 |
+Index: src/misc/hgvs/test/Makefile.test_hgvs_parser.app |
186 |
+=================================================================== |
187 |
+--- src/misc/hgvs/test/Makefile.test_hgvs_parser.app (revision 439078) |
188 |
++++ src/misc/hgvs/test/Makefile.test_hgvs_parser.app (working copy) |
189 |
+@@ -5,7 +5,7 @@ |
190 |
+ |
191 |
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BOOST_INCLUDE) |
192 |
+ |
193 |
+-LIB_ = hgvs variation test_boost xregexp $(PCRE_LIB) xobjutil \ |
194 |
++LIB_ = hgvs objcoords variation test_boost xregexp $(PCRE_LIB) xobjutil \ |
195 |
+ entrez2cli entrez2 $(OBJMGR_LIBS) |
196 |
+ |
197 |
+ LIB = $(LIB_:%=%$(STATIC)) |
198 |
+Index: src/objects/biblio/Makefile.biblio.lib |
199 |
+=================================================================== |
200 |
+--- src/objects/biblio/Makefile.biblio.lib (revision 439078) |
201 |
++++ src/objects/biblio/Makefile.biblio.lib (working copy) |
202 |
+@@ -1,2 +1,4 @@ |
203 |
+ LIB = biblio |
204 |
+ SRC = biblio__ biblio___ citation_base |
205 |
++ |
206 |
++DLL_LIB = general |
207 |
+Index: src/objects/blast/Makefile.blast.lib |
208 |
+=================================================================== |
209 |
+--- src/objects/blast/Makefile.blast.lib (revision 439078) |
210 |
++++ src/objects/blast/Makefile.blast.lib (working copy) |
211 |
+@@ -1,4 +1,6 @@ |
212 |
+ LIB = xnetblast |
213 |
+ SRC = blast__ blast___ names |
214 |
+ |
215 |
++DLL_LIB = scoremat seqset |
216 |
++ |
217 |
+ WATCHERS = camacho |
218 |
+Index: src/objects/blast/Makefile.xnetblastcli.lib |
219 |
+=================================================================== |
220 |
+--- src/objects/blast/Makefile.xnetblastcli.lib (revision 439078) |
221 |
++++ src/objects/blast/Makefile.xnetblastcli.lib (working copy) |
222 |
+@@ -2,3 +2,5 @@ |
223 |
+ |
224 |
+ LIB = xnetblastcli |
225 |
+ SRC = blastclient blastclient_ |
226 |
++ |
227 |
++DLL_LIB = xnetblast xconnect |
228 |
+Index: src/objects/blastdb/Makefile.blastdb.lib |
229 |
+=================================================================== |
230 |
+--- src/objects/blastdb/Makefile.blastdb.lib (revision 439078) |
231 |
++++ src/objects/blastdb/Makefile.blastdb.lib (working copy) |
232 |
+@@ -1,2 +1,4 @@ |
233 |
+ LIB = blastdb |
234 |
+ SRC = blastdb__ blastdb___ |
235 |
++ |
236 |
++DLL_LIB = seq |
237 |
+Index: src/objects/general/Makefile.general.lib |
238 |
+=================================================================== |
239 |
+--- src/objects/general/Makefile.general.lib (revision 439078) |
240 |
++++ src/objects/general/Makefile.general.lib (working copy) |
241 |
+@@ -1,2 +1,4 @@ |
242 |
+ LIB = general |
243 |
+ SRC = general__ general___ uoconv |
244 |
++ |
245 |
++DLL_LIB = xser |
246 |
+Index: src/objects/medline/Makefile.medline.lib |
247 |
+=================================================================== |
248 |
+--- src/objects/medline/Makefile.medline.lib (revision 439078) |
249 |
++++ src/objects/medline/Makefile.medline.lib (working copy) |
250 |
+@@ -1,2 +1,4 @@ |
251 |
+ LIB = medline |
252 |
+ SRC = medline__ medline___ |
253 |
++ |
254 |
++DLL_LIB = biblio general |
255 |
+Index: src/objects/pub/Makefile.pub.lib |
256 |
+=================================================================== |
257 |
+--- src/objects/pub/Makefile.pub.lib (revision 439078) |
258 |
++++ src/objects/pub/Makefile.pub.lib (working copy) |
259 |
+@@ -1,2 +1,4 @@ |
260 |
+ LIB = pub |
261 |
+ SRC = pub__ pub___ |
262 |
++ |
263 |
++DLL_LIB = medline biblio |
264 |
+Index: src/objects/scoremat/Makefile.scoremat.lib |
265 |
+=================================================================== |
266 |
+--- src/objects/scoremat/Makefile.scoremat.lib (revision 439078) |
267 |
++++ src/objects/scoremat/Makefile.scoremat.lib (working copy) |
268 |
+@@ -1,2 +1,4 @@ |
269 |
+ LIB = scoremat |
270 |
+ SRC = scoremat__ scoremat___ |
271 |
++ |
272 |
++DLL_LIB = seqset |
273 |
+Index: src/objects/seq/Makefile.seq.lib |
274 |
+=================================================================== |
275 |
+--- src/objects/seq/Makefile.seq.lib (revision 439078) |
276 |
++++ src/objects/seq/Makefile.seq.lib (working copy) |
277 |
+@@ -13,3 +13,5 @@ |
278 |
+ seq_loc_from_string seq_loc_reverse_complementer |
279 |
+ |
280 |
+ WATCHERS = vasilche grichenk |
281 |
++ |
282 |
++DLL_LIB = seqcode pub biblio general xser sequtil |
283 |
+Index: src/objects/seqset/Makefile.seqset.lib |
284 |
+=================================================================== |
285 |
+--- src/objects/seqset/Makefile.seqset.lib (revision 439078) |
286 |
++++ src/objects/seqset/Makefile.seqset.lib (working copy) |
287 |
+@@ -1,2 +1,4 @@ |
288 |
+ LIB = seqset |
289 |
+ SRC = seqset__ seqset___ gb_release_file |
290 |
++ |
291 |
++DLL_LIB = xser |
292 |
+Index: src/objects/taxon1/Makefile.taxon1.lib |
293 |
+=================================================================== |
294 |
+--- src/objects/taxon1/Makefile.taxon1.lib (revision 439078) |
295 |
++++ src/objects/taxon1/Makefile.taxon1.lib (working copy) |
296 |
+@@ -3,4 +3,6 @@ |
297 |
+ LIB = taxon1 |
298 |
+ SRC = taxon1__ taxon1___ taxon1 cache utils ctreecont |
299 |
+ |
300 |
++DLL_LIB = xconnect |
301 |
++ |
302 |
+ WATCHERS = domrach |
303 |
+Index: src/objmgr/util/Makefile.util.lib |
304 |
+=================================================================== |
305 |
+--- src/objmgr/util/Makefile.util.lib (revision 439078) |
306 |
++++ src/objmgr/util/Makefile.util.lib (working copy) |
307 |
+@@ -8,5 +8,7 @@ |
308 |
+ SRC = weight sequence feature seqtitle create_defline obj_sniff seq_loc_util seq_align_util |
309 |
+ LIB = xobjutil |
310 |
+ |
311 |
++DLL_LIB = xobjmgr |
312 |
++ |
313 |
+ WATCHERS = ucko vasilche |
314 |
+ |
315 |
+Index: src/objtools/blast/seqdb_reader/Makefile.seqdb.lib |
316 |
+=================================================================== |
317 |
+--- src/objtools/blast/seqdb_reader/Makefile.seqdb.lib (revision 439078) |
318 |
++++ src/objtools/blast/seqdb_reader/Makefile.seqdb.lib (working copy) |
319 |
+@@ -29,4 +29,6 @@ |
320 |
+ CXXFLAGS = $(FAST_CXXFLAGS) |
321 |
+ LDFLAGS = $(FAST_LDFLAGS) |
322 |
+ |
323 |
++DLL_LIB = xobjmgr blastdb |
324 |
++ |
325 |
+ WATCHERS = maning camacho |
326 |
+Index: src/objtools/blast/services/Makefile.blast_services.lib |
327 |
+=================================================================== |
328 |
+--- src/objtools/blast/services/Makefile.blast_services.lib (revision 439078) |
329 |
++++ src/objtools/blast/services/Makefile.blast_services.lib (working copy) |
330 |
+@@ -13,3 +13,4 @@ |
331 |
+ CXXFLAGS = $(FAST_CXXFLAGS) |
332 |
+ LDFLAGS = $(FAST_LDFLAGS) |
333 |
+ |
334 |
++DLL_LIB = xnetblastcli xconnect |
335 |
+Index: src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib |
336 |
+=================================================================== |
337 |
+--- src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib (revision 439078) |
338 |
++++ src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib (working copy) |
339 |
+@@ -7,4 +7,6 @@ |
340 |
+ |
341 |
+ ASN_DEP = blastdb seqset |
342 |
+ |
343 |
++DLL_LIB = seqdb |
344 |
++ |
345 |
+ WATCHERS = camacho |
346 |
+Index: src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb_rmt.lib |
347 |
+=================================================================== |
348 |
+--- src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb_rmt.lib (revision 439078) |
349 |
++++ src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb_rmt.lib (working copy) |
350 |
+@@ -7,4 +7,6 @@ |
351 |
+ |
352 |
+ ASN_DEP = blastdb xnetblast |
353 |
+ |
354 |
++DLL_LIB = blast_services |
355 |
++ |
356 |
+ WATCHERS = camacho |
357 |
+Index: src/objtools/lds2/Makefile.lds2.lib |
358 |
+=================================================================== |
359 |
+--- src/objtools/lds2/Makefile.lds2.lib (revision 439078) |
360 |
++++ src/objtools/lds2/Makefile.lds2.lib (working copy) |
361 |
+@@ -8,9 +8,9 @@ |
362 |
+ SRC = lds2 lds2_db lds2_handlers |
363 |
+ |
364 |
+ # Dependencies for shared library |
365 |
+-#DLL_LIB = sqlitewrapp |
366 |
++DLL_LIB = sqlitewrapp $(COMPRESS_LIBS) |
367 |
+ |
368 |
+-LIBS = $(CMPRS_LIBS) $(ORIG_LIBS) |
369 |
++LIBS = $(SQLITE3_LIBS) $(CMPRS_LIBS) $(ORIG_LIBS) |
370 |
+ |
371 |
+ CPPFLAGS = $(SQLITE3_INCLUDE) $(CMPRS_INCLUDE) $(ORIG_CPPFLAGS) |
372 |
+ |
373 |
+Index: src/objtools/readers/Makefile.xobjread.lib |
374 |
+=================================================================== |
375 |
+--- src/objtools/readers/Makefile.xobjread.lib (revision 439078) |
376 |
++++ src/objtools/readers/Makefile.xobjread.lib (working copy) |
377 |
+@@ -19,5 +19,6 @@ |
378 |
+ best_feat_finder source_mod_parser fasta_exception |
379 |
+ |
380 |
+ |
381 |
+-DLL_LIB = creaders |
382 |
++DLL_LIB = seqset $(SEQ_LIBS) pub general creaders xutil |
383 |
+ |
384 |
++ |
385 |
+Index: src/sample/app/cgi/Makefile.cgi_session_sample.app |
386 |
+=================================================================== |
387 |
+--- src/sample/app/cgi/Makefile.cgi_session_sample.app (revision 439078) |
388 |
++++ src/sample/app/cgi/Makefile.cgi_session_sample.app (working copy) |
389 |
+@@ -11,7 +11,7 @@ |
390 |
+ # the lines reading "### BEGIN/END COPIED SETTINGS" in any way. |
391 |
+ |
392 |
+ ### BEGIN COPIED SETTINGS |
393 |
+-LIB = xgridcgi xcgi xhtml xconnserv xconnect xutil xncbi |
394 |
++LIB = xgridcgi xcgi xhtml xconnserv xthrserv xconnect xutil xncbi |
395 |
+ |
396 |
+ LIBS = $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
397 |
+ |
398 |
+Index: src/sample/app/netcache/Makefile.netcache_cgi_sample.app |
399 |
+=================================================================== |
400 |
+--- src/sample/app/netcache/Makefile.netcache_cgi_sample.app (revision 439078) |
401 |
++++ src/sample/app/netcache/Makefile.netcache_cgi_sample.app (working copy) |
402 |
+@@ -4,7 +4,7 @@ |
403 |
+ SRC = netcache_cgi_sample |
404 |
+ |
405 |
+ ### BEGIN COPIED SETTINGS |
406 |
+-LIB = xconnserv xconnect xcgi xhtml xutil xncbi |
407 |
++LIB = xconnserv xthrserv xconnect xcgi xhtml xutil xncbi |
408 |
+ |
409 |
+ LIBS = $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) |
410 |
+ ### END COPIED SETTINGS |
411 |
+Index: src/serial/Makefile.serial.lib |
412 |
+=================================================================== |
413 |
+--- src/serial/Makefile.serial.lib (revision 439078) |
414 |
++++ src/serial/Makefile.serial.lib (working copy) |
415 |
+@@ -19,3 +19,5 @@ |
416 |
+ LIB = xser |
417 |
+ |
418 |
+ WATCHERS = gouriano |
419 |
++ |
420 |
++DLL_LIB = xutil xncbi |
421 |
+Index: src/sra/data_loaders/bam/test/Makefile.test_bam_loader.app |
422 |
+=================================================================== |
423 |
+--- src/sra/data_loaders/bam/test/Makefile.test_bam_loader.app (revision 439078) |
424 |
++++ src/sra/data_loaders/bam/test/Makefile.test_bam_loader.app (working copy) |
425 |
+@@ -7,7 +7,8 @@ |
426 |
+ |
427 |
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BOOST_INCLUDE) |
428 |
+ |
429 |
+-LIB = ncbi_xloader_bam bamread $(BAM_LIBS) xobjreadex xobjutil test_boost $(OBJMGR_LIBS) |
430 |
++LIB = ncbi_xloader_bam bamread $(BAM_LIBS) \ |
431 |
++ xobjreadex $(OBJREAD_LIBS) xobjutil test_boost $(OBJMGR_LIBS) |
432 |
+ |
433 |
+ LIBS = $(SRA_SDK_SYSLIBS) $(CMPRS_LIBS) $(NETWORK_LIBS) $(ORIG_LIBS) |
434 |
+ |
435 |
+Index: src/sra/data_loaders/csra/test/Makefile.test_csra_loader.app |
436 |
+=================================================================== |
437 |
+--- src/sra/data_loaders/csra/test/Makefile.test_csra_loader.app (revision 439078) |
438 |
++++ src/sra/data_loaders/csra/test/Makefile.test_csra_loader.app (working copy) |
439 |
+@@ -5,7 +5,8 @@ |
440 |
+ |
441 |
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BOOST_INCLUDE) |
442 |
+ |
443 |
+-LIB = ncbi_xloader_csra $(SRAREAD_LIBS) xobjreadex xobjutil test_boost $(OBJMGR_LIBS) |
444 |
++LIB = ncbi_xloader_csra $(SRAREAD_LIBS) xobjreadex $(OBJREAD_LIBS) xobjutil \ |
445 |
++ test_boost $(OBJMGR_LIBS) |
446 |
+ |
447 |
+ LIBS = $(SRA_SDK_SYSLIBS) $(CMPRS_LIBS) $(NETWORK_LIBS) $(ORIG_LIBS) |
448 |
+ |
449 |
+Index: src/sra/readers/bam/test/Makefile.bam_test.app |
450 |
+=================================================================== |
451 |
+--- src/sra/readers/bam/test/Makefile.bam_test.app (revision 439078) |
452 |
++++ src/sra/readers/bam/test/Makefile.bam_test.app (working copy) |
453 |
+@@ -9,7 +9,8 @@ |
454 |
+ APP = bam_test |
455 |
+ SRC = bam_test |
456 |
+ |
457 |
+-LIB = bamread xobjreadex xobjutil xobjsimple $(OBJMGR_LIBS) $(BAM_LIBS) |
458 |
++LIB = bamread $(BAM_LIBS) xobjreadex $(OBJREAD_LIBS) xobjutil xobjsimple \ |
459 |
++ $(OBJMGR_LIBS) |
460 |
+ LIBS = $(SRA_SDK_SYSLIBS) $(CMPRS_LIBS) $(NETWORK_LIBS) $(ORIG_LIBS) |
461 |
+ |
462 |
+ REQUIRES = objects |
463 |
+Index: src/sra/sdk/libs/vfs/Makefile.vfs.lib |
464 |
+=================================================================== |
465 |
+--- src/sra/sdk/libs/vfs/Makefile.vfs.lib (revision 16076) |
466 |
++++ src/sra/sdk/libs/vfs/Makefile.vfs.lib (working copy) |
467 |
+@@ -8,6 +8,9 @@ |
468 |
+ CPPFLAGS = -I$(srcdir) $(SRA_INCLUDE) $(Z_INCLUDE) $(BZ2_INCLUDE) \ |
469 |
+ $(SRA_INTERNAL_CPPFLAGS) -D_LIBRARY -DALWAYS_ADD_EXE $(ORIG_CPPFLAGS) |
470 |
+ |
471 |
+-DLL_LIB = srapath$(DLL) kurl$(DLL) krypto$(DLL) kfg$(DLL) kfs$(DLL) klib$(DLL) |
472 |
++DLL_LIB = srapath$(FORCE_STATIC) kurl$(FORCE_STATIC) \ |
473 |
++ krypto$(DLL) kfg$(DLL) kfs$(DLL) klib$(DLL) |
474 |
+ |
475 |
++LIBS = $(SRA_SDK_SYSLIBS) |
476 |
++ |
477 |
+ LIB_OR_DLL = both |
478 |
|
479 |
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild |
480 |
index ecb94f0..8ee3f16 100644 |
481 |
--- a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild |
482 |
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild |
483 |
@@ -108,14 +108,18 @@ src_prepare() { |
484 |
# The conf-opts.patch and as-needed.patch need to be adjusted for 12.0.0 line numbers |
485 |
local PATCHES=( |
486 |
"${FILESDIR}"/${P}-conf-opts.patch |
487 |
- "${FILESDIR}"/${P}-as-needed.patch |
488 |
- "${FILESDIR}"/${P}-fix-creaders-linking.patch |
489 |
"${FILESDIR}"/${P}-fix-svn-URL-upstream.patch |
490 |
- "${FILESDIR}"/${P}-fix-FreeTDS-upstream.patch |
491 |
+ "${FILESDIR}"/${P}-linkage-tuneups.patch |
492 |
"${FILESDIR}"/${P}-more-patches.patch |
493 |
- "${FILESDIR}"/${P}-linking.patch |
494 |
- "${FILESDIR}"/${P}-linking2.patch |
495 |
+ "${FILESDIR}"/${P}-linkage-tuneups-addons.patch |
496 |
) |
497 |
+# "${FILESDIR}"/${P}-as-needed.patch |
498 |
+# "${FILESDIR}"/${P}-fix-creaders-linking.patch |
499 |
+# "${FILESDIR}"/${P}-fix-FreeTDS-upstream.patch |
500 |
+# replaced by -linkage-tuneups.patch |
501 |
+# "${FILESDIR}"/${P}-linking.patch |
502 |
+# "${FILESDIR}"/${P}-linking2.patch |
503 |
+# ) |
504 |
# "${FILESDIR}"/${P}-support-autoconf-2.60.patch |
505 |
# "${FILESDIR}"/${P}-configure.patch |
506 |
epatch ${PATCHES[@]} |