Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/ncbi-tools++/files/, sci-biology/ncbi-tools++/
Date: Wed, 30 Jan 2013 17:08:26
Message-Id: 1359565677.18c9916513894240043fe47a76012e9a58342605.jlec@gentoo
1 commit: 18c9916513894240043fe47a76012e9a58342605
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 30 17:07:57 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 30 17:07:57 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=18c99165
7
8 More work on as-needed problems
9
10 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
11
12 ---
13 .../files/ncbi-tools++-9.0.0-as-needed.patch | 767 ++++++++++++++++++++
14 .../files/ncbi-tools++-9.0.0-conf-opts.patch | 213 ++++++
15 .../ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild | 188 ++---
16 3 files changed, 1049 insertions(+), 119 deletions(-)
17
18 diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-as-needed.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-as-needed.patch
19 new file mode 100644
20 index 0000000..7763361
21 --- /dev/null
22 +++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-as-needed.patch
23 @@ -0,0 +1,767 @@
24 + src/algo/blast/blastinput/Makefile.blastinput.lib | 2 +-
25 + src/algo/ms/omssa/Makefile.xomssa.lib | 2 ++
26 + src/algo/sequence/Makefile.xalgoseq.lib | 2 ++
27 + src/algo/winmask/Makefile.xalgowinmask.lib | 1 +
28 + src/cgi/Makefile.cgi.lib | 2 ++
29 + src/cgi/Makefile.fcgi.lib | 2 ++
30 + src/connect/Makefile.connssl.lib | 2 ++
31 + src/connect/Makefile.xconnect.lib | 4 ++++
32 + src/connect/Makefile.xthrserv.lib | 2 +-
33 + src/connect/Makefile.xxconnect.lib | 2 ++
34 + src/connect/services/Makefile.ncbi_xcache_netcache.lib | 2 +-
35 + src/connect/services/Makefile.xconnserv.lib | 2 +-
36 + src/connect/test/Makefile.conntest.lib | 2 ++
37 + src/corelib/Makefile.test_boost.lib | 2 ++
38 + src/corelib/Makefile.test_mt.lib | 2 ++
39 + src/corelib/test/Makefile.pbacktest.lib | 2 ++
40 + src/db/bdb/Makefile.bdb.lib | 4 ++++
41 + src/db/bdb/Makefile.ncbi_xcache_bdb.lib | 2 +-
42 + src/db/sqlite/Makefile.sqlitewrapp.lib | 3 +++
43 + src/dbapi/Makefile.dbapi.lib | 5 +++++
44 + src/dbapi/driver/Makefile.dbapi_driver.lib | 2 ++
45 + src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib | 2 ++
46 + src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib | 2 +-
47 + src/dbapi/simple/Makefile.sdbapi.lib | 1 +
48 + src/html/Makefile.html.lib | 2 ++
49 + src/objects/access/Makefile.access.lib | 1 +
50 + src/objects/biblio/Makefile.biblio.lib | 2 ++
51 + src/objects/blast/Makefile.blast.lib | 2 ++
52 + src/objects/blast/Makefile.xnetblastcli.lib | 2 ++
53 + src/objects/cdd/Makefile.cdd.lib | 2 ++
54 + src/objects/cn3d/Makefile.cn3d.lib | 2 ++
55 + src/objects/general/Makefile.general.lib | 2 ++
56 + src/objects/id2/Makefile.id2.lib | 2 ++
57 + src/objects/medlars/Makefile.medlars.lib | 2 ++
58 + src/objects/medline/Makefile.medline.lib | 2 ++
59 + src/objects/ncbimime/Makefile.ncbimime.lib | 2 ++
60 + src/objects/omssa/Makefile.omssa.lib | 2 ++
61 + src/objects/pub/Makefile.pub.lib | 2 ++
62 + src/objects/scoremat/Makefile.scoremat.lib | 2 ++
63 + src/objects/seq/Makefile.seq.lib | 2 ++
64 + src/objects/seqcode/Makefile.seqcode.lib | 2 ++
65 + src/objects/seqedit/Makefile.seqedit.lib | 1 +
66 + src/objects/seqset/Makefile.seqset.lib | 1 +
67 + src/objects/seqsplit/Makefile.seqsplit.lib | 2 ++
68 + src/objects/submit/Makefile.submit.lib | 1 +
69 + src/objects/taxon1/Makefile.taxon1.lib | 2 ++
70 + src/objects/valerr/Makefile.valerr.lib | 2 ++
71 + src/objects/valid/Makefile.valid.lib | 2 ++
72 + src/objects/variation/Makefile.variation.lib | 1 +
73 + src/objmgr/util/Makefile.util.lib | 1 +
74 + src/objtools/align_format/Makefile.align_format.lib | 2 ++
75 + src/objtools/blast/seqdb_reader/Makefile.seqdb.lib | 2 ++
76 + src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib | 3 +++
77 + src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib | 2 +-
78 + src/objtools/readers/Makefile.xobjread.lib | 3 +--
79 + src/objtools/readers/Makefile.xobjreadex.lib | 2 +-
80 + src/objtools/simple/Makefile.xobjsimple.lib | 1 +
81 + src/objtools/validator/Makefile.validator.lib | 2 ++
82 + src/serial/Makefile.serial.lib | 2 ++
83 + src/serial/soap/Makefile.soap.lib | 2 ++
84 + src/serial/soap/Makefile.soap_server.lib | 2 ++
85 + src/serial/test/Makefile.we_cpp.lib | 1 +
86 + src/util/Makefile.util.lib | 2 ++
87 + src/util/compress/api/Makefile.compress.lib | 2 +-
88 + src/util/qparse/Makefile.xqueryparse.lib | 2 ++
89 + src/util/regexp/Makefile.regexp.lib | 2 ++
90 + src/util/sequtil/Makefile.sequtil.lib | 2 ++
91 + src/util/xregexp/Makefile.xregexp.lib | 2 +-
92 + 68 files changed, 124 insertions(+), 12 deletions(-)
93 +
94 +diff --git a/src/algo/blast/blastinput/Makefile.blastinput.lib b/src/algo/blast/blastinput/Makefile.blastinput.lib
95 +index bfb315c..25873a2 100644
96 +--- a/src/algo/blast/blastinput/Makefile.blastinput.lib
97 ++++ b/src/algo/blast/blastinput/Makefile.blastinput.lib
98 +@@ -24,7 +24,7 @@ SRC = $(SRC_CXX)
99 +
100 + LIB = blastinput
101 +
102 +-DLL_LIB = xblast $(OBJMGR_LIBS)
103 ++DLL_LIB = xblast seqdb $(OBJMGR_LIBS)
104 +
105 + # should be redundant, given the above :-/
106 + ASN_DEP = seqset xnetblast
107 +diff --git a/src/algo/ms/omssa/Makefile.xomssa.lib b/src/algo/ms/omssa/Makefile.xomssa.lib
108 +index 872b92e..82cc8b6 100644
109 +--- a/src/algo/ms/omssa/Makefile.xomssa.lib
110 ++++ b/src/algo/ms/omssa/Makefile.xomssa.lib
111 +@@ -19,3 +19,5 @@ LIB = xomssa
112 + CFLAGS = $(FAST_CFLAGS)
113 + CXXFLAGS = $(FAST_CXXFLAGS)
114 + LDFLAGS = $(FAST_LDFLAGS)
115 ++
116 ++DLL_LIB = xutil
117 +diff --git a/src/algo/sequence/Makefile.xalgoseq.lib b/src/algo/sequence/Makefile.xalgoseq.lib
118 +index 51f4cd7..0c20790 100644
119 +--- a/src/algo/sequence/Makefile.xalgoseq.lib
120 ++++ b/src/algo/sequence/Makefile.xalgoseq.lib
121 +@@ -13,3 +13,5 @@ LDFLAGS = $(FAST_LDFLAGS)
122 + CPPFLAGS = $(ORIG_CPPFLAGS) $(PCRE_INCLUDE)
123 +
124 + WATCHERS = dicuccio
125 ++
126 ++DLL_LIB = taxon1 xalnmgr
127 +diff --git a/src/algo/winmask/Makefile.xalgowinmask.lib b/src/algo/winmask/Makefile.xalgowinmask.lib
128 +index afaf676..7344871 100644
129 +--- a/src/algo/winmask/Makefile.xalgowinmask.lib
130 ++++ b/src/algo/winmask/Makefile.xalgowinmask.lib
131 +@@ -21,3 +21,4 @@ SRC = seq_masker seq_masker_score_mean seq_masker_score_mean_glob \
132 + CXXFLAGS = $(FAST_CXXFLAGS)
133 + LDFLAGS = $(FAST_LDFLAGS)
134 +
135 ++DLL_LIB = seqmasks_io
136 +diff --git a/src/cgi/Makefile.cgi.lib b/src/cgi/Makefile.cgi.lib
137 +index a990390..edf40aa 100644
138 +--- a/src/cgi/Makefile.cgi.lib
139 ++++ b/src/cgi/Makefile.cgi.lib
140 +@@ -11,3 +11,5 @@ LIB = xcgi
141 + CPPFLAGS = $(ORIG_CPPFLAGS) $(FASTCGI_INCLUDE)
142 +
143 + WATCHERS = vakatov
144 ++
145 ++DLL_LIB = xncbi xutil
146 +diff --git a/src/cgi/Makefile.fcgi.lib b/src/cgi/Makefile.fcgi.lib
147 +index 2569b41..6b85780 100644
148 +--- a/src/cgi/Makefile.fcgi.lib
149 ++++ b/src/cgi/Makefile.fcgi.lib
150 +@@ -12,3 +12,5 @@ LIB = xfcgi
151 + CPPFLAGS = $(ORIG_CPPFLAGS) $(FASTCGI_INCLUDE) -DNCBI_XFCGI_EXPORTS
152 +
153 + WATCHERS = vakatov
154 ++
155 ++DLL_LIB = xncbi xutil
156 +diff --git a/src/connect/Makefile.connssl.lib b/src/connect/Makefile.connssl.lib
157 +index b400ca2..8756320 100644
158 +--- a/src/connect/Makefile.connssl.lib
159 ++++ b/src/connect/Makefile.connssl.lib
160 +@@ -8,3 +8,5 @@ CPPFLAGS = $(GNUTLS_INCLUDE) $(ORIG_CPPFLAGS)
161 + LIBS = $(GNUTLS_LIBS) $(ORIG_LIBS)
162 +
163 + WATCHERS = lavr
164 ++
165 ++DLL_LIB = connect
166 +diff --git a/src/connect/Makefile.xconnect.lib b/src/connect/Makefile.xconnect.lib
167 +index 473bb0b..88dae10 100644
168 +--- a/src/connect/Makefile.xconnect.lib
169 ++++ b/src/connect/Makefile.xconnect.lib
170 +@@ -11,9 +11,13 @@ include $(srcdir)/Makefile.xxconnect.lib
171 + SRC = $(SRC_C) $(SRC_CXX)
172 + UNIX_SRC = $(LOCAL_LBSM)
173 +
174 ++DLL_LIB = xncbi
175 ++
176 + LIB = xconnect
177 + PROJ_TAG = core
178 +
179 + LIBS = $(NETWORK_LIBS) $(ORIG_LIBS)
180 +
181 + WATCHERS = lavr
182 ++
183 ++DLL_LIB = xncbi xutil
184 +diff --git a/src/connect/Makefile.xthrserv.lib b/src/connect/Makefile.xthrserv.lib
185 +index 1e5b857..0833a78 100644
186 +--- a/src/connect/Makefile.xthrserv.lib
187 ++++ b/src/connect/Makefile.xthrserv.lib
188 +@@ -4,6 +4,6 @@ SRC = threaded_server server server_monitor connection_pool
189 + LIB = xthrserv
190 + PROJ_TAG = core
191 + LIBS = $(NETWORK_LIBS)
192 +-DLL_LIB = xutil xconnect
193 ++DLL_LIB = xncbi xutil xconnect
194 +
195 + WATCHERS = ivanovp
196 +diff --git a/src/connect/Makefile.xxconnect.lib b/src/connect/Makefile.xxconnect.lib
197 +index d7ba751..8e27819 100644
198 +--- a/src/connect/Makefile.xxconnect.lib
199 ++++ b/src/connect/Makefile.xxconnect.lib
200 +@@ -16,3 +16,5 @@ PROJ_TAG = core
201 + LIBS = $(NETWORK_LIBS) $(ORIG_LIBS)
202 +
203 + WATCHERS = lavr
204 ++
205 ++DLL_LIB = xncbi xutil connect
206 +diff --git a/src/connect/services/Makefile.ncbi_xcache_netcache.lib b/src/connect/services/Makefile.ncbi_xcache_netcache.lib
207 +index 606f4f1..e6cfdac 100644
208 +--- a/src/connect/services/Makefile.ncbi_xcache_netcache.lib
209 ++++ b/src/connect/services/Makefile.ncbi_xcache_netcache.lib
210 +@@ -6,7 +6,7 @@ SRC = neticache_client
211 + LIB = ncbi_xcache_netcache
212 +
213 + LIB_OR_DLL = both
214 +-DLL_LIB = xconnserv xconnect xutil
215 ++DLL_LIB = xconnserv xconnect xutil xncbi
216 +
217 + CPPFLAGS = $(ORIG_CPPFLAGS)
218 + LIBS = $(ORIG_LIBS)
219 +diff --git a/src/connect/services/Makefile.xconnserv.lib b/src/connect/services/Makefile.xconnserv.lib
220 +index 4b8f21f..04fcbf8 100644
221 +--- a/src/connect/services/Makefile.xconnserv.lib
222 ++++ b/src/connect/services/Makefile.xconnserv.lib
223 +@@ -15,6 +15,6 @@ LIB = xconnserv
224 + PROJ_TAG = core
225 + LIBS = $(NETWORK_LIBS)
226 +
227 +-DLL_LIB = xthrserv xconnect xutil
228 ++DLL_LIB = xthrserv xconnect xutil xncbi
229 +
230 + WATCHERS = kazimird
231 +diff --git a/src/connect/test/Makefile.conntest.lib b/src/connect/test/Makefile.conntest.lib
232 +index 58a2fa5..3d9876c 100644
233 +--- a/src/connect/test/Makefile.conntest.lib
234 ++++ b/src/connect/test/Makefile.conntest.lib
235 +@@ -4,3 +4,5 @@ SRC = ncbi_conntest
236 + LIB = xconntest
237 +
238 + WATCHERS = lavr
239 ++
240 ++DLL_LIB = xncbi xutil connect
241 +diff --git a/src/corelib/Makefile.test_boost.lib b/src/corelib/Makefile.test_boost.lib
242 +index e8fa174..f90441d 100644
243 +--- a/src/corelib/Makefile.test_boost.lib
244 ++++ b/src/corelib/Makefile.test_boost.lib
245 +@@ -9,3 +9,5 @@ REQUIRES = Boost.Test.Included
246 +
247 + WATCHERS = ivanovp
248 + PROJ_TAG = test
249 ++
250 ++DLL_LIB = xncbi
251 +diff --git a/src/corelib/Makefile.test_mt.lib b/src/corelib/Makefile.test_mt.lib
252 +index 6153eab..f64c3a2 100644
253 +--- a/src/corelib/Makefile.test_mt.lib
254 ++++ b/src/corelib/Makefile.test_mt.lib
255 +@@ -8,3 +8,5 @@ LIB = test_mt
256 + USE_PCH = no
257 + WATCHERS = grichenk
258 + PROJ_TAG = test
259 ++
260 ++DLL_LIB = xncbi
261 +diff --git a/src/corelib/test/Makefile.pbacktest.lib b/src/corelib/test/Makefile.pbacktest.lib
262 +index da0c616..c4c62ab 100644
263 +--- a/src/corelib/test/Makefile.pbacktest.lib
264 ++++ b/src/corelib/test/Makefile.pbacktest.lib
265 +@@ -4,3 +4,5 @@ SRC = pbacktest
266 + LIB = xpbacktest
267 +
268 + WATCHERS = lavr
269 ++
270 ++DLL_LIB = xncbi
271 +diff --git a/src/db/bdb/Makefile.bdb.lib b/src/db/bdb/Makefile.bdb.lib
272 +index 3729707..cd2827c 100644
273 +--- a/src/db/bdb/Makefile.bdb.lib
274 ++++ b/src/db/bdb/Makefile.bdb.lib
275 +@@ -14,3 +14,7 @@ LIB = bdb
276 + CPPFLAGS = $(ORIG_CPPFLAGS) $(BERKELEYDB_INCLUDE)
277 +
278 + WATCHERS = kuznets
279 ++
280 ++DLL_LIB = xncbi xutil
281 ++LIBS = $(BERKELEYDB_LIBS)
282 ++
283 +diff --git a/src/db/bdb/Makefile.ncbi_xcache_bdb.lib b/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
284 +index 7e97a26..8f54efc 100644
285 +--- a/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
286 ++++ b/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
287 +@@ -8,7 +8,7 @@ SRC = bdb_blobcache
288 + LIB = ncbi_xcache_bdb
289 +
290 + LIB_OR_DLL = both
291 +-DLL_LIB = bdb xutil
292 ++DLL_LIB = bdb xutil xncbi
293 +
294 + CPPFLAGS = $(ORIG_CPPFLAGS) $(BERKELEYDB_INCLUDE)
295 + LIBS = $(BERKELEYDB_LIBS) $(ORIG_LIBS)
296 +diff --git a/src/db/sqlite/Makefile.sqlitewrapp.lib b/src/db/sqlite/Makefile.sqlitewrapp.lib
297 +index cecfd16..c01668b 100644
298 +--- a/src/db/sqlite/Makefile.sqlitewrapp.lib
299 ++++ b/src/db/sqlite/Makefile.sqlitewrapp.lib
300 +@@ -8,3 +8,6 @@ CPPFLAGS= $(ORIG_CPPFLAGS) $(SQLITE3_INCLUDE)
301 + REQUIRES = SQLITE3
302 +
303 + WATCHERS = ivanovp
304 ++
305 ++DLL_LIB = xncbi xutil
306 ++LIBS = $(SQLITE3_LIBS)
307 +diff --git a/src/dbapi/Makefile.dbapi.lib b/src/dbapi/Makefile.dbapi.lib
308 +index 6e3ad4c..4475a78 100644
309 +--- a/src/dbapi/Makefile.dbapi.lib
310 ++++ b/src/dbapi/Makefile.dbapi.lib
311 +@@ -10,3 +10,8 @@ LIB = dbapi
312 + CPPFLAGS = $(ORIG_CPPFLAGS) $(SYBASE_INCLUDE)
313 +
314 + WATCHERS = ivanovp
315 ++
316 ++#ASN_DEP = driver
317 ++
318 ++DLL_LIB = xncbi xutil # dbapi_driver$(DLL)
319 ++LIBS = $(PYTHON_LIBS)
320 +diff --git a/src/dbapi/driver/Makefile.dbapi_driver.lib b/src/dbapi/driver/Makefile.dbapi_driver.lib
321 +index dfeac5a..bc113ed 100644
322 +--- a/src/dbapi/driver/Makefile.dbapi_driver.lib
323 ++++ b/src/dbapi/driver/Makefile.dbapi_driver.lib
324 +@@ -22,3 +22,5 @@ CXXFLAGS_darwin = -fno-inline
325 + CXXFLAGS = $(ORIG_CXXFLAGS) $(CXXFLAGS_$(OSTYPE))
326 +
327 + WATCHERS = ivanovp
328 ++
329 ++DLL_LIB = xncbi xutil
330 +diff --git a/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib b/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
331 +index 941ccd6..f1f872c 100644
332 +--- a/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
333 ++++ b/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
334 +@@ -6,3 +6,5 @@ LIB = dbapi_sample_base
335 + CPPFLAGS = $(ORIG_CPPFLAGS) $(SYBASE_INCLUDE)
336 +
337 + WATCHERS = ivanovp
338 ++
339 ++DLL_LIB = xncbi xutil dbapi_driver
340 +diff --git a/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib b/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
341 +index ebe08c4..86ecda6 100644
342 +--- a/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
343 ++++ b/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
344 +@@ -11,7 +11,7 @@ LIB_OR_DLL = dll
345 +
346 + # Dependencies for shared library
347 + DLL_LIB = dbapi dbapi_driver$(DLL) $(XCONNEXT) xconnect xutil xncbi
348 +-LIBS = $(RUNPATH_ORIGIN)/python_ncbi_dbapi/$(NCBI_PACKAGE_VERSION) $(ORIG_LIBS)
349 ++LIBS = $(RUNPATH_ORIGIN)/python_ncbi_dbapi/$(NCBI_PACKAGE_VERSION) $(ORIG_LIBS) $(PYTHON_LIBS)
350 + # Drop other flags to build with full dependencies under ICC.
351 + DLL_LDFLAGS = $(DLL_UNDEF_FLAGS)
352 +
353 +diff --git a/src/dbapi/simple/Makefile.sdbapi.lib b/src/dbapi/simple/Makefile.sdbapi.lib
354 +index 603fd1e..0d06323 100644
355 +--- a/src/dbapi/simple/Makefile.sdbapi.lib
356 ++++ b/src/dbapi/simple/Makefile.sdbapi.lib
357 +@@ -5,3 +5,4 @@ LIB = sdbapi
358 +
359 + WATCHERS = ivanovp
360 +
361 ++DLL_LIB = xncbi xutil dbapi_driver ncbi_xdbapi_ftds xconnect xser bdb xconnserv
362 +diff --git a/src/html/Makefile.html.lib b/src/html/Makefile.html.lib
363 +index a57c1e3..0005299 100644
364 +--- a/src/html/Makefile.html.lib
365 ++++ b/src/html/Makefile.html.lib
366 +@@ -8,3 +8,5 @@ SRC = node html htmlhelper page pager selection components \
367 + LIB = xhtml
368 +
369 + WATCHERS = ivanov
370 ++
371 ++DLL_LIB = xncbi xutil
372 +diff --git a/src/objects/access/Makefile.access.lib b/src/objects/access/Makefile.access.lib
373 +index 11421d9..cf3a300 100644
374 +--- a/src/objects/access/Makefile.access.lib
375 ++++ b/src/objects/access/Makefile.access.lib
376 +@@ -1,2 +1,3 @@
377 + LIB = access
378 + SRC = access__ access___
379 ++DLL_LIB = xncbi
380 +diff --git a/src/objects/biblio/Makefile.biblio.lib b/src/objects/biblio/Makefile.biblio.lib
381 +index 2c7d491..cb54ba6 100644
382 +--- a/src/objects/biblio/Makefile.biblio.lib
383 ++++ b/src/objects/biblio/Makefile.biblio.lib
384 +@@ -1,2 +1,4 @@
385 + LIB = biblio
386 + SRC = biblio__ biblio___ citation_base
387 ++
388 ++DLL_LIB = general xser xncbi xutil
389 +diff --git a/src/objects/blast/Makefile.blast.lib b/src/objects/blast/Makefile.blast.lib
390 +index 0dd0fa3..5ffe052 100644
391 +--- a/src/objects/blast/Makefile.blast.lib
392 ++++ b/src/objects/blast/Makefile.blast.lib
393 +@@ -2,3 +2,5 @@ LIB = xnetblast
394 + SRC = blast__ blast___ names
395 +
396 + WATCHERS = camacho
397 ++
398 ++DLL_LIB = xncbi xutil xser
399 +diff --git a/src/objects/blast/Makefile.xnetblastcli.lib b/src/objects/blast/Makefile.xnetblastcli.lib
400 +index 96325c4..5a72805 100644
401 +--- a/src/objects/blast/Makefile.xnetblastcli.lib
402 ++++ b/src/objects/blast/Makefile.xnetblastcli.lib
403 +@@ -2,3 +2,5 @@ ASN_DEP = xnetblast
404 +
405 + LIB = xnetblastcli
406 + SRC = blastclient blastclient_
407 ++
408 ++DLL_LIB = xncbi xutil seqset connect xconnect xnetblast
409 +diff --git a/src/objects/cdd/Makefile.cdd.lib b/src/objects/cdd/Makefile.cdd.lib
410 +index 978cae9..e3176b2 100644
411 +--- a/src/objects/cdd/Makefile.cdd.lib
412 ++++ b/src/objects/cdd/Makefile.cdd.lib
413 +@@ -1,2 +1,4 @@
414 + LIB = cdd
415 + SRC = cdd__ cdd___
416 ++
417 ++DLL_LIB = mmdb
418 +diff --git a/src/objects/cn3d/Makefile.cn3d.lib b/src/objects/cn3d/Makefile.cn3d.lib
419 +index 1af5d1d..b34a966 100644
420 +--- a/src/objects/cn3d/Makefile.cn3d.lib
421 ++++ b/src/objects/cn3d/Makefile.cn3d.lib
422 +@@ -1,3 +1,5 @@
423 + ASN_DEP = mmdb
424 + LIB = cn3d
425 + SRC = cn3d__ cn3d___
426 ++
427 ++DLL_LIB = mmdb
428 +diff --git a/src/objects/general/Makefile.general.lib b/src/objects/general/Makefile.general.lib
429 +index 951304f..3be083d 100644
430 +--- a/src/objects/general/Makefile.general.lib
431 ++++ b/src/objects/general/Makefile.general.lib
432 +@@ -1,2 +1,4 @@
433 + LIB = general
434 + SRC = general__ general___ uoconv
435 ++
436 ++DLL_LIB = xser xncbi xutil
437 +diff --git a/src/objects/id2/Makefile.id2.lib b/src/objects/id2/Makefile.id2.lib
438 +index 09d8b36..b25700d 100644
439 +--- a/src/objects/id2/Makefile.id2.lib
440 ++++ b/src/objects/id2/Makefile.id2.lib
441 +@@ -2,3 +2,5 @@ LIB = id2
442 + SRC = id2__ id2___
443 +
444 + WATCHERS = vasilche
445 ++
446 ++DLL_LIB = xser
447 +diff --git a/src/objects/medlars/Makefile.medlars.lib b/src/objects/medlars/Makefile.medlars.lib
448 +index 3a6d0cd..5230940 100644
449 +--- a/src/objects/medlars/Makefile.medlars.lib
450 ++++ b/src/objects/medlars/Makefile.medlars.lib
451 +@@ -1,2 +1,4 @@
452 + LIB = medlars
453 + SRC = medlars__ medlars___
454 ++
455 ++DLL_LIB = xser
456 +diff --git a/src/objects/medline/Makefile.medline.lib b/src/objects/medline/Makefile.medline.lib
457 +index ea28066..eb42aa4 100644
458 +--- a/src/objects/medline/Makefile.medline.lib
459 ++++ b/src/objects/medline/Makefile.medline.lib
460 +@@ -1,2 +1,4 @@
461 + LIB = medline
462 + SRC = medline__ medline___
463 ++
464 ++DLL_LIB = general biblio
465 +diff --git a/src/objects/ncbimime/Makefile.ncbimime.lib b/src/objects/ncbimime/Makefile.ncbimime.lib
466 +index 93cafdf..e5aa4eb 100644
467 +--- a/src/objects/ncbimime/Makefile.ncbimime.lib
468 ++++ b/src/objects/ncbimime/Makefile.ncbimime.lib
469 +@@ -1,2 +1,4 @@
470 + LIB = ncbimime
471 + SRC = ncbimime__ ncbimime___
472 ++
473 ++DLL_LIB = mmdb
474 +diff --git a/src/objects/omssa/Makefile.omssa.lib b/src/objects/omssa/Makefile.omssa.lib
475 +index b79617f..e1d4a9e 100644
476 +--- a/src/objects/omssa/Makefile.omssa.lib
477 ++++ b/src/objects/omssa/Makefile.omssa.lib
478 +@@ -2,3 +2,5 @@ APP_DEP = seq
479 +
480 + LIB = omssa
481 + SRC = omssa__ omssa___
482 ++
483 ++DLL_LIB = seq
484 +diff --git a/src/objects/pub/Makefile.pub.lib b/src/objects/pub/Makefile.pub.lib
485 +index 78c12e1..9baa08d 100644
486 +--- a/src/objects/pub/Makefile.pub.lib
487 ++++ b/src/objects/pub/Makefile.pub.lib
488 +@@ -1,2 +1,4 @@
489 + LIB = pub
490 + SRC = pub__ pub___
491 ++
492 ++DLL_LIB = medline biblio
493 +diff --git a/src/objects/scoremat/Makefile.scoremat.lib b/src/objects/scoremat/Makefile.scoremat.lib
494 +index 62e01f5..93bb071 100644
495 +--- a/src/objects/scoremat/Makefile.scoremat.lib
496 ++++ b/src/objects/scoremat/Makefile.scoremat.lib
497 +@@ -1,2 +1,4 @@
498 + LIB = scoremat
499 + SRC = scoremat__ scoremat___
500 ++
501 ++DLL_LIB = seqset seq
502 +diff --git a/src/objects/seq/Makefile.seq.lib b/src/objects/seq/Makefile.seq.lib
503 +index 1b5edc5..30ef316 100644
504 +--- a/src/objects/seq/Makefile.seq.lib
505 ++++ b/src/objects/seq/Makefile.seq.lib
506 +@@ -13,3 +13,5 @@ SRC = $(ASN:%=%__) $(ASN:%=%___) seqport_util \
507 + seq_loc_from_string seq_loc_reverse_complementer
508 +
509 + WATCHERS = vasilche grichenk
510 ++
511 ++DLL_LIB = general seqcode pub sequtil biblio xser xncbi xutil
512 +diff --git a/src/objects/seqcode/Makefile.seqcode.lib b/src/objects/seqcode/Makefile.seqcode.lib
513 +index dc9d60e..dabd95b 100644
514 +--- a/src/objects/seqcode/Makefile.seqcode.lib
515 ++++ b/src/objects/seqcode/Makefile.seqcode.lib
516 +@@ -1,2 +1,4 @@
517 + LIB = seqcode
518 + SRC = seqcode__ seqcode___
519 ++
520 ++DLL_LIB = xncbi xser
521 +diff --git a/src/objects/seqedit/Makefile.seqedit.lib b/src/objects/seqedit/Makefile.seqedit.lib
522 +index 283a9b7..80724b1 100644
523 +--- a/src/objects/seqedit/Makefile.seqedit.lib
524 ++++ b/src/objects/seqedit/Makefile.seqedit.lib
525 +@@ -1,3 +1,4 @@
526 + LIB = seqedit
527 + SRC = seqedit__ seqedit___
528 +
529 ++DLL_LIB = xser seq
530 +diff --git a/src/objects/seqset/Makefile.seqset.lib b/src/objects/seqset/Makefile.seqset.lib
531 +index 87f16d0..febce67 100644
532 +--- a/src/objects/seqset/Makefile.seqset.lib
533 ++++ b/src/objects/seqset/Makefile.seqset.lib
534 +@@ -1,2 +1,3 @@
535 + LIB = seqset
536 + SRC = seqset__ seqset___ gb_release_file
537 ++DLL_LIB = xser seq
538 +diff --git a/src/objects/seqsplit/Makefile.seqsplit.lib b/src/objects/seqsplit/Makefile.seqsplit.lib
539 +index 87ae869..a693f50 100644
540 +--- a/src/objects/seqsplit/Makefile.seqsplit.lib
541 ++++ b/src/objects/seqsplit/Makefile.seqsplit.lib
542 +@@ -2,3 +2,5 @@ LIB = seqsplit
543 + SRC = seqsplit__ seqsplit___
544 +
545 + WATCHERS = vasilche
546 ++
547 ++DLL_LIB = xser
548 +diff --git a/src/objects/submit/Makefile.submit.lib b/src/objects/submit/Makefile.submit.lib
549 +index 74798f8..34dd5a8 100644
550 +--- a/src/objects/submit/Makefile.submit.lib
551 ++++ b/src/objects/submit/Makefile.submit.lib
552 +@@ -1,2 +1,3 @@
553 + LIB = submit
554 + SRC = submit__ submit___
555 ++DLL_LIB = xser xncbi # lds
556 +diff --git a/src/objects/taxon1/Makefile.taxon1.lib b/src/objects/taxon1/Makefile.taxon1.lib
557 +index 61658ab..d735117 100644
558 +--- a/src/objects/taxon1/Makefile.taxon1.lib
559 ++++ b/src/objects/taxon1/Makefile.taxon1.lib
560 +@@ -3,3 +3,5 @@ LIB = taxon1
561 + SRC = taxon1__ taxon1___ taxon1 cache utils ctreecont
562 +
563 + WATCHERS = domrach
564 ++
565 ++DLL_LIB = xser
566 +diff --git a/src/objects/valerr/Makefile.valerr.lib b/src/objects/valerr/Makefile.valerr.lib
567 +index b202355..9699bb2 100644
568 +--- a/src/objects/valerr/Makefile.valerr.lib
569 ++++ b/src/objects/valerr/Makefile.valerr.lib
570 +@@ -2,3 +2,5 @@ LIB = valerr
571 + SRC = valerr__ valerr___
572 +
573 + ASN_DEP = seqset
574 ++
575 ++DLL_LIB = xser
576 +diff --git a/src/objects/valid/Makefile.valid.lib b/src/objects/valid/Makefile.valid.lib
577 +index 86a00a0..ee7402f 100644
578 +--- a/src/objects/valid/Makefile.valid.lib
579 ++++ b/src/objects/valid/Makefile.valid.lib
580 +@@ -1,3 +1,5 @@
581 + # $Id: Makefile.valid.lib 156738 2009-04-07 16:35:10Z ucko $
582 + LIB = valid
583 + SRC = valid__ valid___
584 ++
585 ++DLL_LIB = xser
586 +diff --git a/src/objects/variation/Makefile.variation.lib b/src/objects/variation/Makefile.variation.lib
587 +index f21f84a..b08e210 100644
588 +--- a/src/objects/variation/Makefile.variation.lib
589 ++++ b/src/objects/variation/Makefile.variation.lib
590 +@@ -1,2 +1,3 @@
591 + LIB = variation
592 + SRC = variation__ variation___
593 ++DLL_LIB = xser
594 +diff --git a/src/objmgr/util/Makefile.util.lib b/src/objmgr/util/Makefile.util.lib
595 +index 90eeee0..138e836 100644
596 +--- a/src/objmgr/util/Makefile.util.lib
597 ++++ b/src/objmgr/util/Makefile.util.lib
598 +@@ -10,3 +10,4 @@ LIB = xobjutil
599 +
600 + WATCHERS = ucko vasilche
601 +
602 ++DLL_LIB = xser xobjmgr
603 +diff --git a/src/objtools/align_format/Makefile.align_format.lib b/src/objtools/align_format/Makefile.align_format.lib
604 +index 4b3e59e..94fc319 100644
605 +--- a/src/objtools/align_format/Makefile.align_format.lib
606 ++++ b/src/objtools/align_format/Makefile.align_format.lib
607 +@@ -18,3 +18,5 @@ CPPFLAGS = $(ORIG_CPPFLAGS)
608 + # LIB_OR_DLL = dll
609 +
610 + WATCHERS = zaretska jianye madden camacho
611 ++
612 ++DLL_LIB = seqdb blastdb
613 +diff --git a/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib b/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
614 +index 25898aa..92d4d59 100644
615 +--- a/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
616 ++++ b/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
617 +@@ -29,3 +29,5 @@ CXXFLAGS = $(FAST_CXXFLAGS)
618 + LDFLAGS = $(FAST_LDFLAGS)
619 +
620 + WATCHERS = maning camacho
621 ++
622 ++DLL_LIB = blastdb
623 +diff --git a/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib b/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
624 +index 80af69f..704ed7a 100644
625 +--- a/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
626 ++++ b/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
627 +@@ -6,3 +6,6 @@ SRC = bdbloader cached_sequence local_blastdb_adapter
628 + ASN_DEP = blastdb seqset
629 +
630 + WATCHERS = camacho
631 ++
632 ++DLL_LIB = seqdb
633 ++
634 +diff --git a/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib b/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
635 +index f2b2b49..a8ee667 100644
636 +--- a/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
637 ++++ b/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
638 +@@ -12,6 +12,6 @@ LIB = ncbi_xreader
639 + LIB_OR_DLL = both
640 +
641 + # Dependencies for shared library
642 +-DLL_LIB =
643 ++DLL_LIB = xcompress
644 +
645 + WATCHERS = vasilche
646 +diff --git a/src/objtools/readers/Makefile.xobjread.lib b/src/objtools/readers/Makefile.xobjread.lib
647 +index 0fbffd4..4ca9fed 100644
648 +--- a/src/objtools/readers/Makefile.xobjread.lib
649 ++++ b/src/objtools/readers/Makefile.xobjread.lib
650 +@@ -19,5 +19,4 @@ SRC = read_util format_guess_ex \
651 + best_feat_finder source_mod_parser fasta_exception
652 +
653 +
654 +-DLL_LIB = creaders
655 +-
656 ++DLL_LIB = creaders xncbi seq biblio seqset
657 +diff --git a/src/objtools/readers/Makefile.xobjreadex.lib b/src/objtools/readers/Makefile.xobjreadex.lib
658 +index 85eefe2..f238782 100644
659 +--- a/src/objtools/readers/Makefile.xobjreadex.lib
660 ++++ b/src/objtools/readers/Makefile.xobjreadex.lib
661 +@@ -8,4 +8,4 @@ LIB = xobjreadex
662 + SRC = glimmer_reader idmapper idmapper_builtin idmapper_config \
663 + idmapper_database source_mod_parser_wrapper
664 +
665 +-DLL_LIB = xobjread
666 ++DLL_LIB = xobjread xncbi xutil seq xobjmgr
667 +diff --git a/src/objtools/simple/Makefile.xobjsimple.lib b/src/objtools/simple/Makefile.xobjsimple.lib
668 +index dab25d6..a29b960 100644
669 +--- a/src/objtools/simple/Makefile.xobjsimple.lib
670 ++++ b/src/objtools/simple/Makefile.xobjsimple.lib
671 +@@ -10,3 +10,4 @@ ASN_DEP = seqset
672 + LIB = xobjsimple
673 + SRC = simple_om
674 +
675 ++DLL_LIB = xobjmgr
676 +diff --git a/src/objtools/validator/Makefile.validator.lib b/src/objtools/validator/Makefile.validator.lib
677 +index 80a74d8..69c4ef6 100644
678 +--- a/src/objtools/validator/Makefile.validator.lib
679 ++++ b/src/objtools/validator/Makefile.validator.lib
680 +@@ -19,3 +19,5 @@ NOOPT_CXX = $(CXX_WRAPPER) $(CXX) $(CXXFLAGS_ALL:-xO%=)
681 +
682 + lat_lon_country_map.o: $(srcdir)/lat_lon_country_map.cpp
683 + $(NOOPT_CXX) $(srcdir)/lat_lon_country_map.cpp -o $@ $(CXX_FILTER)
684 ++
685 ++DLL_LIB = xncbi xobjutil xalnmgr
686 +diff --git a/src/serial/Makefile.serial.lib b/src/serial/Makefile.serial.lib
687 +index 2563b5f..efad054 100644
688 +--- a/src/serial/Makefile.serial.lib
689 ++++ b/src/serial/Makefile.serial.lib
690 +@@ -19,3 +19,5 @@ SRC = \
691 + LIB = xser
692 +
693 + WATCHERS = gouriano
694 ++
695 ++DLL_LIB = xncbi xutil
696 +diff --git a/src/serial/soap/Makefile.soap.lib b/src/serial/soap/Makefile.soap.lib
697 +index e77d4ee..3b28bc4 100644
698 +--- a/src/serial/soap/Makefile.soap.lib
699 ++++ b/src/serial/soap/Makefile.soap.lib
700 +@@ -8,3 +8,5 @@ SRC = soap_message soap_readhook soap_writehook soap_client \
701 + LIB = xsoap
702 +
703 + WATCHERS = gouriano
704 ++
705 ++DLL_LIB = xncbi xutil xser xconnect
706 +diff --git a/src/serial/soap/Makefile.soap_server.lib b/src/serial/soap/Makefile.soap_server.lib
707 +index c961496..0ccb2f0 100644
708 +--- a/src/serial/soap/Makefile.soap_server.lib
709 ++++ b/src/serial/soap/Makefile.soap_server.lib
710 +@@ -9,3 +9,5 @@ LIB = xsoap_server
711 + REQUIRES = cgi
712 +
713 + WATCHERS = gouriano
714 ++
715 ++DLL_LIB = xncbi xutil xcgi xsoap xser
716 +diff --git a/src/serial/test/Makefile.we_cpp.lib b/src/serial/test/Makefile.we_cpp.lib
717 +index 9877691..599ef5d 100644
718 +--- a/src/serial/test/Makefile.we_cpp.lib
719 ++++ b/src/serial/test/Makefile.we_cpp.lib
720 +@@ -3,3 +3,4 @@ SRC = we_cpp__ we_cpp___
721 +
722 + WATCHERS = gouriano
723 +
724 ++DLL_LIB = xncbi xutil xser
725 +diff --git a/src/util/Makefile.util.lib b/src/util/Makefile.util.lib
726 +index f103ff1..829a71c 100644
727 +--- a/src/util/Makefile.util.lib
728 ++++ b/src/util/Makefile.util.lib
729 +@@ -14,3 +14,5 @@ PROJ_TAG = core
730 + LIBS = $(ORIG_LIBS)
731 +
732 + WATCHERS = vakatov
733 ++
734 ++DLL_LIB = xncbi
735 +diff --git a/src/util/compress/api/Makefile.compress.lib b/src/util/compress/api/Makefile.compress.lib
736 +index ae22234..2ce803a 100644
737 +--- a/src/util/compress/api/Makefile.compress.lib
738 ++++ b/src/util/compress/api/Makefile.compress.lib
739 +@@ -6,7 +6,7 @@ LIB = xcompress
740 +
741 + CPPFLAGS = $(ORIG_CPPFLAGS) $(CMPRS_INCLUDE)
742 +
743 +-DLL_LIB = $(BZ2_LIB) $(Z_LIB) $(LZO_LIB)
744 ++DLL_LIB = $(BZ2_LIB) $(Z_LIB) $(LZO_LIB) xutil xncbi
745 + LIBS = $(BZ2_LIBS) $(Z_LIBS) $(LZO_LIBS)
746 +
747 + WATCHERS = ivanov
748 +diff --git a/src/util/qparse/Makefile.xqueryparse.lib b/src/util/qparse/Makefile.xqueryparse.lib
749 +index a003930..0505da7 100644
750 +--- a/src/util/qparse/Makefile.xqueryparse.lib
751 ++++ b/src/util/qparse/Makefile.xqueryparse.lib
752 +@@ -7,3 +7,5 @@ query_parser_bison.tab.c : query_parser_bison.y
753 + bison -v -p ncbi_q_ -o query_parser_bison.tab.c query_parser_bison.y
754 +
755 + WATCHERS = kuznets
756 ++
757 ++DLL_LIB = xncbi xutil
758 +diff --git a/src/util/regexp/Makefile.regexp.lib b/src/util/regexp/Makefile.regexp.lib
759 +index 0f8d5e8..83a82af 100644
760 +--- a/src/util/regexp/Makefile.regexp.lib
761 ++++ b/src/util/regexp/Makefile.regexp.lib
762 +@@ -10,3 +10,5 @@ LIB = regexp
763 + CPPFLAGS = -I$(includedir)/util/regexp -DHAVE_CONFIG_H $(ORIG_CPPFLAGS)
764 +
765 + WATCHERS = ivanov
766 ++
767 ++DLL_LIB = xncbi xutil
768 +diff --git a/src/util/sequtil/Makefile.sequtil.lib b/src/util/sequtil/Makefile.sequtil.lib
769 +index c068a32..453c911 100644
770 +--- a/src/util/sequtil/Makefile.sequtil.lib
771 ++++ b/src/util/sequtil/Makefile.sequtil.lib
772 +@@ -4,3 +4,5 @@ LIB = sequtil
773 + SRC = sequtil sequtil_convert sequtil_convert_imp sequtil_manip sequtil_tables sequtil_shared
774 +
775 + WATCHERS = shomrat
776 ++
777 ++DLL_LIB = xncbi xutil
778 +diff --git a/src/util/xregexp/Makefile.xregexp.lib b/src/util/xregexp/Makefile.xregexp.lib
779 +index 965fac4..3accea3 100644
780 +--- a/src/util/xregexp/Makefile.xregexp.lib
781 ++++ b/src/util/xregexp/Makefile.xregexp.lib
782 +@@ -6,7 +6,7 @@ LIB = xregexp
783 +
784 + CPPFLAGS = $(ORIG_CPPFLAGS) $(PCRE_INCLUDE)
785 +
786 +-DLL_LIB = $(PCRE_LIB)
787 ++DLL_LIB = $(PCRE_LIB) xutil xncbi
788 + LIBS = $(PCRE_LIBS)
789 +
790 + WATCHERS = ivanov
791
792 diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-conf-opts.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-conf-opts.patch
793 new file mode 100644
794 index 0000000..8209603
795 --- /dev/null
796 +++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-conf-opts.patch
797 @@ -0,0 +1,213 @@
798 + src/build-system/configure | 34 +++++++++++++++++++++++-----------
799 + src/build-system/configure.ac | 33 ++++++++++++++++++++++-----------
800 + 2 files changed, 45 insertions(+), 22 deletions(-)
801 +
802 +diff --git a/src/build-system/configure b/src/build-system/configure
803 +index 82fc9ef..d31a4f2 100755
804 +--- a/src/build-system/configure
805 ++++ b/src/build-system/configure
806 +@@ -924,7 +924,7 @@ Optional Packages:
807 + --without-distcc do not automatically use distcc if available
808 + --without-ncbi-c do not use NCBI C Toolkit
809 + --without-sss do not use NCBI SSS libraries
810 +- --without-utils do not use NCBI SSS UTIL library
811 ++ --without-sssutils do not use NCBI SSS UTIL library
812 + --without-sssdb do not use NCBI SSS DB library
813 + --with-included-sss use the in-tree copy of SSS
814 + --with-z=DIR use zlib installation in DIR
815 +@@ -2835,12 +2835,12 @@ check ncbi-public strip pch caution ccache distcc \
816 + ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
817 + geo included-geo \
818 + z bz2 lzo pcre gnutls openssl sybase sybase-local sybase-new \
819 +-ftds mysql orbacus freetype fltk opengl mesa glut glew glew-mx \
820 ++ftds mysql orbacus odbc freetype fltk opengl mesa glut glew glew-mx \
821 + bdb python jni sqlite3 icu boost boost-tag \
822 + sp expat sablot libxml libxslt xerces xalan oechem sge muparser hdf5 \
823 + gif jpeg tiff png xpm magic curl 3psw \
824 + local-lbsm ncbi-crypt connext \
825 +-serial objects dbapi app ctools gui algo internal gbench"
826 ++serial objects dbapi app ctools gui algo internal gbench x"
827 +
828 + x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
829 +
830 +@@ -2864,6 +2864,7 @@ for x_arg in "$@" ; do
831 + case "$x_arg" in
832 + --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
833 + | --cache-file= | --build= | --host= | --target= | --with-runpath= \
834 ++ | --mandir= | --infodir= | --datadir= | --sysconfdir= | --localstatedir= \
835 + | --with-relative-runpath= | --x-includes= | --x-libraries= )
836 + { { echo "$as_me:$LINENO: error: $x_arg: requires value; use --help to show usage" >&5
837 + echo "$as_me: error: $x_arg: requires value; use --help to show usage" >&2;}
838 +@@ -2876,6 +2877,7 @@ echo "$as_me: error: $x_arg: requires value; use --help to show usage" >&2;}
839 + | --with-universal=* | --with-tcheck=* \
840 + | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
841 + | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
842 ++ | --mandir=* | --infodir=* | --datadir=* | --sysconfdir=* | --localstatedir=* \
843 + | [A-Z]*=* \
844 + | --with-z=* | --with-bz2=* | --with-lzo=* \
845 + | --with-pcre=* \
846 +@@ -3023,7 +3025,8 @@ echo "$as_me: error: --without-extra-action is not allowed" >&2;}
847 + fi
848 +
849 + case "$with_projects" in
850 +- "") if test -r projects; then
851 ++ ""|yes)
852 ++ if test -r projects; then
853 + { echo "$as_me:$LINENO: using default projects file \"projects\"." >&5
854 + echo "$as_me: using default projects file \"projects\"." >&6;}
855 + with_projects=projects
856 +@@ -3049,6 +3052,16 @@ echo "$as_me: WARNING: default projects file \"projects\" is a dangling link." >
857 + ;;
858 + esac
859 +
860 ++if test -n "$with_projects"; then
861 ++ case "$with_projects" in
862 ++ /* ) abs_projects=$with_projects ;;
863 ++ yes) abs_projects=$srcdir/projects ;;
864 ++ * ) abs_projects=$srcdir/$with_projects ;;
865 ++ esac
866 ++ test -r "$abs_projects" || \
867 ++ as_fn_error $? "unable to read requested projects file \"$abs_projects\"." "$LINENO" 5
868 ++fi
869 ++
870 +
871 + #### Always define this
872 +
873 +@@ -32712,7 +32725,7 @@ else
874 + sep=", "
875 + fi
876 + if test -n "$reason" -a "$with_internal" = "yes"; then
877 +- if test -z "$with_projects" -o "$with_projects" = "no"; then
878 ++ if test -z "$with_projects"; then
879 + { { echo "$as_me:$LINENO: error: --with-internal: Cannot build INTERNAL projects: missing $reason" >&5
880 + echo "$as_me: error: --with-internal: Cannot build INTERNAL projects: missing $reason" >&2;}
881 + { (exit 1); exit 1; }; }
882 +@@ -34949,11 +34962,9 @@ if test "$with_flat_makefile" != "no"; then
883 + else
884 + cfm_flags='-remoteptb'
885 + fi
886 +- case "$with_projects" in
887 +- yes ) cfm_flags="$cfm_flags -p projects" ;;
888 +- no | '' ) ;;
889 +- * ) cfm_flags="$cfm_flags -p $with_projects" ;;
890 +- esac
891 ++ if test -n "$with_projects"; then
892 ++ cfm_flags="$cfm_flags -p $with_projects"
893 ++ fi
894 + if test "$with_configure_dialog" = yes; then
895 + cfm_flags="$cfm_flags -cfg"
896 + fi
897 +@@ -34997,7 +35008,8 @@ lib)
898 + esac
899 +
900 + if test -n "$with_projects"; then
901 +- build_proj="To build selected projects: cd $builddir && make all_p"
902 ++ build_proj="To build selected projects (as listed in \"$with_projects\"):
903 ++ cd $builddir && make all_p"
904 + fi
905 +
906 + cat << EOCONF
907 +diff --git a/src/build-system/configure.ac b/src/build-system/configure.ac
908 +index 7b733af..3b55bf5 100644
909 +--- a/src/build-system/configure.ac
910 ++++ b/src/build-system/configure.ac
911 +@@ -222,7 +222,7 @@ AC_ARG_WITH(ncbi-c,
912 + AC_ARG_WITH(sss,
913 + [ --without-sss do not use NCBI SSS libraries])
914 + AC_ARG_WITH(sssutils,
915 +- [ --without-utils do not use NCBI SSS UTIL library])
916 ++ [ --without-sssutils do not use NCBI SSS UTIL library])
917 + AC_ARG_WITH(sssdb,
918 + [ --without-sssdb do not use NCBI SSS DB library])
919 + AC_ARG_WITH(included-sss,
920 +@@ -462,12 +462,12 @@ check ncbi-public strip pch caution ccache distcc \
921 + ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
922 + geo included-geo \
923 + z bz2 lzo pcre gnutls openssl sybase sybase-local sybase-new \
924 +-ftds mysql orbacus freetype fltk opengl mesa glut glew glew-mx \
925 ++ftds mysql orbacus odbc freetype fltk opengl mesa glut glew glew-mx \
926 + bdb python jni sqlite3 icu boost boost-tag \
927 + sp expat sablot libxml libxslt xerces xalan oechem sge muparser hdf5 \
928 + gif jpeg tiff png xpm magic curl 3psw \
929 + local-lbsm ncbi-crypt connext \
930 +-serial objects dbapi app ctools gui algo internal gbench"
931 ++serial objects dbapi app ctools gui algo internal gbench x"
932 +
933 + changequote(, )dnl
934 + x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
935 +@@ -493,6 +493,7 @@ for x_arg in "$@" ; do
936 + case "$x_arg" in
937 + --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
938 + | --cache-file= | --build= | --host= | --target= | --with-runpath= \
939 ++ | --mandir= | --infodir= | --datadir= | --sysconfdir= | --localstatedir= \
940 + | --with-relative-runpath= | --x-includes= | --x-libraries= )
941 + AC_MSG_ERROR([$x_arg: requires value; use --help to show usage])
942 + ;;
943 +@@ -503,6 +504,7 @@ for x_arg in "$@" ; do
944 + | --with-universal=* | --with-tcheck=* \
945 + | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
946 + | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
947 ++ | --mandir=* | --infodir=* | --datadir=* | --sysconfdir=* | --localstatedir=* \
948 + | [[A-Z]*=*] \
949 + | --with-z=* | --with-bz2=* | --with-lzo=* \
950 + | --with-pcre=* \
951 +@@ -581,7 +583,8 @@ if test "$with_extra_action" = "no" ; then
952 + fi
953 +
954 + case "$with_projects" in
955 +- "") if test -r projects; then
956 ++ ""|yes)
957 ++ if test -r projects; then
958 + AC_MSG_NOTICE([using default projects file "projects".])
959 + with_projects=projects
960 + AC_SUBST(PROJECTS, "\$(top_srcdir)/projects")
961 +@@ -599,6 +602,15 @@ case "$with_projects" in
962 + * ) AC_SUBST(PROJECTS, "\$(top_srcdir)/$with_projects") ;;
963 + esac
964 +
965 ++if test -n "$with_projects"; then
966 ++ case "$with_projects" in
967 ++ /* ) abs_projects=$with_projects ;;
968 ++ yes) abs_projects=$srcdir/projects ;;
969 ++ * ) abs_projects=$srcdir/$with_projects ;;
970 ++ esac
971 ++ test -r "$abs_projects" || \
972 ++ AC_MSG_ERROR([unable to read requested projects file "$abs_projects".])
973 ++fi
974 +
975 + #### Always define this
976 + AC_DEFINE(NCBI_CXX_TOOLKIT, 1, [This is the NCBI C++ Toolkit.])
977 +@@ -6198,7 +6210,7 @@ else
978 + sep=", "
979 + fi
980 + if test -n "$reason" -a "$with_internal" = "yes"; then
981 +- if test -z "$with_projects" -o "$with_projects" = "no"; then
982 ++ if test -z "$with_projects"; then
983 + AC_MSG_ERROR([--with-internal: Cannot build INTERNAL projects: missing $reason])
984 + else
985 + AC_MSG_WARN([--with-internal: Cannot build all INTERNAL projects: missing $reason])
986 +@@ -6807,11 +6819,9 @@ if test "$with_flat_makefile" != "no"; then
987 + else
988 + cfm_flags='-remoteptb'
989 + fi
990 +- case "$with_projects" in
991 +- yes ) cfm_flags="$cfm_flags -p projects" ;;
992 +- no | '' ) ;;
993 +- * ) cfm_flags="$cfm_flags -p $with_projects" ;;
994 +- esac
995 ++ if test -n "$with_projects"; then
996 ++ cfm_flags="$cfm_flags -p $with_projects"
997 ++ fi
998 + if test "$with_configure_dialog" = yes; then
999 + cfm_flags="$cfm_flags -cfg"
1000 + fi
1001 +@@ -6854,7 +6864,8 @@ lib)
1002 + esac
1003 +
1004 + if test -n "$with_projects"; then
1005 +- build_proj="To build selected projects: cd $builddir && make all_p"
1006 ++ build_proj="To build selected projects (as listed in \"$with_projects\"):
1007 ++ cd $builddir && make all_p"
1008 + fi
1009 +
1010 + cat << EOCONF
1011
1012 diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild
1013 index 9806b41..439e917 100644
1014 --- a/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild
1015 +++ b/sci-biology/ncbi-tools++/ncbi-tools++-9.0.0-r1.ebuild
1016 @@ -4,7 +4,7 @@
1017
1018 EAPI=5
1019
1020 -inherit eutils flag-o-matic multilib toolchain-funcs
1021 +inherit autotools eutils flag-o-matic multilib toolchain-funcs
1022
1023 MY_TAG="Jun_15_2010"
1024 MY_Y="${MY_TAG/*_/}"
1025 @@ -68,70 +68,6 @@ DEPEND="
1026 dev-libs/libpcre"
1027 # USE flags which should be added somehow: wxWindows wxWidgets SP ORBacus ODBC OEChem sge
1028
1029 -# configure options, may want to expose some
1030 -# --without-debug build non-debug versions of libs and apps
1031 -# --without-optimization turn off optimization flags in non-debug mode
1032 -# --with-profiling build profiled versions of libs and apps
1033 -# --with-tcheck(=DIR) build for Intel Thread Checker (in DIR)
1034 -# --with-dll build all libraries as DLLs
1035 -# --with-static build all libraries statically even if --with-dll
1036 -# --with-static-exe build all executables as statically as possible
1037 -# --with-plugin-auto-load always enable the plugin manager by default
1038 -# --with-bin-release build executables suitable for public release
1039 -# --with-mt compile in a MultiThread-safe manner
1040 -# --with-64 compile to 64-bit code
1041 -# --with-universal build universal binaries on Mac OS X
1042 -# --with-universal=CPUs build universal binaries targeting the given CPUs
1043 -# --without-exe do not build executables
1044 -# --with-runpath= hard-code the runtime path to DLLs
1045 -# --with-lfs enable large file support to the extent possible
1046 -# --with-extra-action= script to call after the configuration is complete
1047 -# --with-autodep automatic generation of dependencies (GNU make)
1048 -# --with-build-root=DIR specify a non-default build directory name
1049 -# --with-fake-root=DIR appear to have been built under DIR
1050 -# --without-suffix no Release/Debug, MT or DLL sfx in the build dir name
1051 -# --with-hostspec add full host specs to the build dir name
1052 -# --without-version don't always include the cplr ver in the bd name
1053 -# --with-build-root-sfx=X add a user-specified suffix to the build dir name
1054 -# --without-execopy do not copy built executables to the BIN area
1055 -# --with-bincopy populate lib and bin with copies, not hard links
1056 -# --with-lib-rebuilds ensure that apps use up-to-date libraries
1057 -# --with-lib-rebuilds=ask ask whether to update each app's libraries
1058 -# --without-deactivation keep old copies of libraries that no longer build
1059 -# --without-makefile-auto-update do not auto-update generated makefiles
1060 -# --with-projects=FILE build projects listed in FILE by default
1061 -# --without-flat-makefile do not generate an all-encompassing flat makefile
1062 -# --with-configure-dialog allow interactive flat makefile project selection
1063 -# --with-saved-settings=F load configuration settings from the file F
1064 -# --with-check run test suite after the build
1065 -# --with-check-tools=... use the specified tools for testing
1066 -# --with-ncbi-public ensure compatibility for all in-house platforms
1067 -# --with-strip strip binaries at build time
1068 -# --with-pch use precompiled headers if possible
1069 -# --with-caution cancel configuration unconditionally when in doubt
1070 -# --without-caution proceed without asking when in doubt
1071 -# --without-ccache do not automatically use ccache if available
1072 -# --without-distcc do not automatically use distcc if available
1073 -# --without-ncbi-c do not use NCBI C Toolkit
1074 -# --without-sss do not use NCBI SSS libraries
1075 -# --without-utils do not use NCBI SSS UTIL library
1076 -# --without-sssdb do not use NCBI SSS DB library
1077 -# --with-included-sss use the in-tree copy of SSS
1078 -
1079 -# --without-local-lbsm turn off support for IPC with locally running LBSMD
1080 -# --without-ncbi-crypt use a dummy stubbed-out version of ncbi_crypt
1081 -# --without-connext do not build non-public CONNECT library extensions
1082 -# --without-serial do not build the serialization library and tools
1083 -# --without-objects do not generate/build serializeable objects from ASNs
1084 -# --without-dbapi do not build database connectivity libraries
1085 -# --without-app do not build standalone applications like ID1_FETCH
1086 -# --without-ctools do not build NCBI C Toolkit based projects
1087 -# --without-gui do not build most graphical projects
1088 -# --without-algo do not build CPU-intensive algorithms
1089 -# --without-internal do not build internal projects
1090 -# --with-gbench ensure that Genome Workbench can be built
1091 -# --without-gbench do not build Genome Workbench
1092 -
1093 RDEPEND="${DEPEND}"
1094
1095 S="${WORKDIR}/${MY_P}"
1096 @@ -162,7 +98,17 @@ src_prepare() {
1097 # "${FILESDIR}"/${PN}-${PV#0.}-glibc-214.patch
1098
1099 # use prefix && append-ldflags -Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/${PN}"
1100 +
1101 + local PATCHES=(
1102 + "${FILESDIR}"/${P}-conf-opts.patch
1103 + "${FILESDIR}"/${P}-as-needed.patch
1104 + )
1105 + epatch ${PATCHES[@]}
1106 +
1107 tc-export CXX CC
1108 +# cd src/build-system || die
1109 +# eaclocal -I.
1110 +# eautoconf
1111 }
1112
1113 src_configure() {
1114 @@ -175,54 +121,54 @@ src_configure() {
1115 #--with-bin-release build executables suitable for public release
1116 # no dll and such
1117 #--with-64 compile to 64-bit code
1118 - # --with-universal build universal binaries on Mac OS X
1119 - # --with-universal=CPUs build universal binaries targeting the given CPUs
1120 - # --without-exe do not build executables
1121 + #--with-universal build universal binaries on Mac OS X
1122 + #--with-universal=CPUs build universal binaries targeting the given CPUs
1123 + #--without-exe do not build executables
1124 #--with-relative-runpath=P specify an executable-relative DLL search path
1125 - # --with-hard-runpath hard-code runtime path, ignoring LD_LIBRARY_PATH
1126 - # --with-limited-linker don't attempt to build especially large projects
1127 + #--with-hard-runpath hard-code runtime path, ignoring LD_LIBRARY_PATH
1128 + #--with-limited-linker don't attempt to build especially large projects
1129 #--with-extra-action= script to call after the configuration is complete
1130 #--with-autodep automatic generation of dependencies (GNU make)
1131 - # --with-fake-root=DIR appear to have been built under DIR
1132 + #--with-fake-root=DIR appear to have been built under DIR
1133 #--with-build-root-sfx=X add a user-specified suffix to the build dir name
1134 - # --without-execopy do not copy built executables to the BIN area
1135 + #--without-execopy do not copy built executables to the BIN area
1136 #--with-lib-rebuilds ensure that apps use up-to-date libraries
1137 - # --with-lib-rebuilds=ask ask whether to update each app's libraries
1138 - # --without-deactivation keep old copies of libraries that no longer build
1139 - # --without-makefile-auto-update do not auto-update generated makefiles
1140 - # --with-projects=FILE build projects listed in FILE by default
1141 - # --without-flat-makefile do not generate an all-encompassing flat makefile
1142 - # --with-configure-dialog allow interactive flat makefile project selection
1143 - # --with-saved-settings=F load configuration settings from the file F
1144 - #-with-check-tools=... use the specified tools for testing
1145 - # --with-ncbi-public ensure compatibility for all in-house platforms
1146 + #--with-lib-rebuilds=ask ask whether to update each app's libraries
1147 + #--without-deactivation keep old copies of libraries that no longer build
1148 + #--without-makefile-auto-update do not auto-update generated makefiles
1149 + #--with-projects=FILE build projects listed in FILE by default
1150 + #--without-flat-makefile do not generate an all-encompassing flat makefile
1151 + #--with-configure-dialog allow interactive flat makefile project selection
1152 + #--with-saved-settings=F load configuration settings from the file F
1153 + #--with-check-tools=... use the specified tools for testing
1154 + #--with-ncbi-public ensure compatibility for all in-house platforms
1155 #--with-sybase-local=DIR use local SYBASE install (DIR is optional)
1156 - # --with-sybase-new use newer SYBASE install (12.5 rather than 12.0)
1157 + #--with-sybase-new use newer SYBASE install (12.5 rather than 12.0)
1158 #--without-ftds-renamed do not rename Sybase DBLIB symbols in built-in FTDS
1159 #--without-sp do not use SP libraries
1160 #--without-orbacus do not use ORBacus CORBA libraries
1161 - # --with-orbacus=DIR use ORBacus installation in DIR
1162 + #--with-orbacus=DIR use ORBacus installation in DIR
1163 #--with-jni(=JDK-DIR) build Java bindings (against the JDK in JDK-DIR)
1164 #--with-sablot=DIR use Sablotron installation in DIR
1165 - # --without-sablot, do not use Sablotron
1166 + #--without-sablot, do not use Sablotron
1167 #--with-oechem=DIR use OpenEye OEChem installation in DIR
1168 - # --without-oechem do not use OEChem
1169 - # --with-sge=DIR use Sun Grid Engine installation in DIR
1170 - # --without-sge do not use Sun Grid Engine
1171 + #--without-oechem do not use OEChem
1172 + #--with-sge=DIR use Sun Grid Engine installation in DIR
1173 + #--without-sge do not use Sun Grid Engine
1174 #--with-magic=DIR use libmagic installation in DIR
1175 - # --without-magic do not use libmagic
1176 + #--without-magic do not use libmagic
1177 #--without-local-lbsm turn off support for IPC with locally running LBSMD
1178 - # --without-ncbi-crypt use a dummy stubbed-out version of ncbi_crypt
1179 - # --without-connext do not build non-public CONNECT library extensions
1180 - # --without-serial do not build the serialization library and tools
1181 - # --without-objects do not generate/build serializeable objects from ASNs
1182 - # --without-dbapi do not build database connectivity libraries
1183 - # --without-app do not build standalone applications like ID1_FETCH
1184 - # --without-gui do not build most graphical projects
1185 - # --without-algo do not build CPU-intensive algorithms
1186 + #--without-ncbi-crypt use a dummy stubbed-out version of ncbi_crypt
1187 + #--without-connext do not build non-public CONNECT library extensions
1188 + #--without-serial do not build the serialization library and tools
1189 + #--without-objects do not generate/build serializeable objects from ASNs
1190 + #--without-dbapi do not build database connectivity libraries
1191 + #--without-app do not build standalone applications like ID1_FETCH
1192 + #--without-gui do not build most graphical projects
1193 + #--without-algo do not build CPU-intensive algorithms
1194 #--without-internal do not build internal projects
1195 - # --with-gbench ensure that Genome Workbench can be built
1196 - # --without-gbench do not build Genome Workbench
1197 + #--with-gbench ensure that Genome Workbench can be built
1198 + #--without-gbench do not build Genome Workbench
1199 myconf+=(
1200 --with-dll
1201 --with-lfs
1202 @@ -234,17 +180,18 @@ src_configure() {
1203 --without-strip
1204 --without-ccache
1205 --without-distcc
1206 - --with-ncbi-c
1207 +# --with-ncbi-c
1208 --without-ctools
1209 - --with-sss
1210 - --with-utils
1211 - --with-sssdb
1212 - --with-included-sss
1213 +# --with-sss
1214 +# --with-sssutils
1215 +# --with-sssdb
1216 +# --with-included-sss
1217 --with-z="${EPREFIX}"/usr
1218 --with-bz2="${EPREFIX}"/usr
1219 --with-muparser="${EPREFIX}"/usr
1220 --without-sybase
1221 -# --with-3psw=std:netopt
1222 + --with-autodep
1223 +# --with-3psw=std:netopt favor standard (system) builds of the above pkgs
1224 $(use_with debug)
1225 $(use_with debug max-debug)
1226 $(use_with debug symbols)
1227 @@ -265,7 +212,7 @@ src_configure() {
1228 $(use_with mesa mesa "${EPREFIX}"/usr)
1229 $(use_with opengl glut "${EPREFIX}"/usr)
1230 $(use_with opengl glew "${EPREFIX}"/usr)
1231 - $(use_with opengl glew-m)
1232 + $(use_with opengl glew-mx)
1233 $(use_with wxwidgets wxwidgets "${EPREFIX}"/usr)
1234 $(use_with wxwidgets wxwidgets-ucs)
1235 $(use_with freetype freetype "${EPREFIX}"/usr)
1236 @@ -277,18 +224,19 @@ src_configure() {
1237 $(use_with sqlite sqlite3 "${EPREFIX}"/usr)
1238 $(use_with icu icu "${EPREFIX}"/usr)
1239 $(use_with expat expat "${EPREFIX}"/usr)
1240 - $(use_with xml libxml2 "${EPREFIX}"/usr)
1241 + $(use_with xml libxml "${EPREFIX}"/usr)
1242 $(use_with xml libxslt "${EPREFIX}"/usr)
1243 $(use_with xerces xerces "${EPREFIX}"/usr)
1244 $(use_with hdf5 hdf5 "${EPREFIX}"/usr)
1245 $(use_with xalan xalan "${EPREFIX}"/usr)
1246 - $(use_with gif gif "${EPREFIX}"/usr)
1247 +# $(use_with gif gif "${EPREFIX}"/usr)
1248 $(use_with jpeg jpeg "${EPREFIX}"/usr)
1249 $(use_with tiff tiff "${EPREFIX}"/usr)
1250 $(use_with png png "${EPREFIX}"/usr)
1251 $(use_with xpm xpm "${EPREFIX}"/usr)
1252 $(use_with curl curl "${EPREFIX}"/usr)
1253 - $(use_with X x "${EPREFIX}"/usr)
1254 +# $(use_with X x "${EPREFIX}"/usr)
1255 + $(use_with X x)
1256 )
1257
1258 # http://www.ncbi.nlm.nih.gov/books/NBK7167/
1259 @@ -298,16 +246,16 @@ src_configure() {
1260 # copy optimization -O options from CXXFLAGS to DEF_FAST_FLAGS and pass that also to configure
1261 # otherwise your -O2 will be dropped in some subdirectories and repalced by e.g. -O9
1262
1263 - "${S}"/configure \
1264 - --prefix="${EPREFIX}"/usr \
1265 - --build=x86_64-pc-linux-gnu \
1266 - --host=x86_64-pc-linux-gnu \
1267 - --infodir=/usr/share/info \
1268 - --datadir=/usr/share \
1269 - --sysconfdir=/etc \
1270 - --localstatedir=/var/lib \
1271 - --libdir=/usr/lib64 \
1272 - ${myconf[@]} || die
1273 + einfo "bash ./src/build-system/configure --srcdir="${S}" --prefix="${EPREFIX}"/usr --libdir=/usr/lib64 ${myconf[@]}"
1274 +
1275 +# bash \
1276 +# ./src/build-system/configure \
1277 +# cd src/build-system || die
1278 + econf \
1279 + --srcdir="${S}" \
1280 + --prefix="${EPREFIX}"/usr \
1281 + --libdir=/usr/lib64 \
1282 + ${myconf[@]} || die
1283 #--without-debug \
1284 # --with-bin-release \
1285 # --with-bincopy \
1286 @@ -326,7 +274,9 @@ src_compile() {
1287 # all_r would ignore the --with-projects contents and build more
1288 # emake all_r -C GCC*-Release*/build || die
1289 # all_p with compile only selected/required components
1290 - emake all_p -C GCC*-Release*/build || die "gcc-4.5.3 crashes at src/objects/valerr/ValidError.cpp:226:1: internal compiler error: Segmentation fault, right?"
1291 +# cd "${S}"_build &&\
1292 + emake all_p -C "${S}"_build/build
1293 +# emake all_p -C GCC*-Release*/build || die "gcc-4.5.3 crashes at src/objects/valerr/ValidError.cpp:226:1: internal compiler error: Segmentation fault, right?"
1294 }
1295
1296 src_install() {