summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-05-04 19:06:17 +0000
committerJustin Lecher <jlec@gentoo.org>2011-05-04 19:06:17 +0000
commit0b15202cec2bac3a8d45a272bfffffb42014f781 (patch)
treeb45132c6c6fba661d7d9075b3602fc86b5acbfa5 /sci-biology/ncbi-tools++
parentStable on amd64 wrt bug #342239 (diff)
downloadhistorical-0b15202cec2bac3a8d45a272bfffffb42014f781.tar.gz
historical-0b15202cec2bac3a8d45a272bfffffb42014f781.tar.bz2
historical-0b15202cec2bac3a8d45a272bfffffb42014f781.zip
Fix for asneeded, #297193; removed old, #312921
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/ncbi-tools++')
-rw-r--r--sci-biology/ncbi-tools++/ChangeLog11
-rw-r--r--sci-biology/ncbi-tools++/Manifest15
-rw-r--r--sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded-ng.patch719
-rw-r--r--sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded.patch652
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild109
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15-r1.ebuild69
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15.ebuild5
7 files changed, 1461 insertions, 119 deletions
diff --git a/sci-biology/ncbi-tools++/ChangeLog b/sci-biology/ncbi-tools++/ChangeLog
index a8b48b6f9fbe..d48c7a88c482 100644
--- a/sci-biology/ncbi-tools++/ChangeLog
+++ b/sci-biology/ncbi-tools++/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sci-biology/ncbi-tools++
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.18 2011/05/02 09:43:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.19 2011/05/04 19:06:17 jlec Exp $
+
+*ncbi-tools++-2010.06.15-r1 (04 May 2011)
+
+ 04 May 2011; Justin Lecher <jlec@gentoo.org>
+ -ncbi-tools++-2009.05.15-r6.ebuild, ncbi-tools++-2010.06.15.ebuild,
+ +ncbi-tools++-2010.06.15-r1.ebuild,
+ +files/ncbi-tools++-2010.06.15-asneeded.patch,
+ +files/ncbi-tools++-2010.06.15-asneeded-ng.patch:
+ Fix for asneeded, #297193; removed old, #312921
02 May 2011; Justin Lecher <jlec@gentoo.org> ncbi-tools++-2010.06.15.ebuild,
+files/ncbi-tools++-2010.06.15-gcc46.patch:
diff --git a/sci-biology/ncbi-tools++/Manifest b/sci-biology/ncbi-tools++/Manifest
index 3d3f066d7eea..6eb4d61ded0a 100644
--- a/sci-biology/ncbi-tools++/Manifest
+++ b/sci-biology/ncbi-tools++/Manifest
@@ -3,17 +3,18 @@ Hash: SHA1
AUX ncbi-tools++-2009.05.15-asneeded.patch 3620 RMD160 393db694f0824b0d47571e3b64250b8398c33e58 SHA1 541f00f4d2170d9bb4721468f1c350dcc92552bb SHA256 71a4b2040417a9bfaa7254b5c6668d09ec69f5836a372f1b2bbc938f41ff7657
AUX ncbi-tools++-2009.05.15-gcc44.patch 554 RMD160 57a23cbaad59b6011124f684db55f4ac2e4a43ab SHA1 7ed63addba554bf87a347d25ea2d4ea6b6552a1a SHA256 ddc2379ff636851e1bb4fb601930ee926c396819e06812b1ba76da001255d5c6
+AUX ncbi-tools++-2010.06.15-asneeded-ng.patch 26465 RMD160 76646b91c9b437e0b0c323998fa74910d3fb6fac SHA1 4f33cf15fe91213516eff1633131cbd580971c5f SHA256 9e944140479f919eb167992032ad493586f736c30bd788863b4f09355c3cb373
+AUX ncbi-tools++-2010.06.15-asneeded.patch 23787 RMD160 f0441cd06c8b7b6dfa9b99561e243e7628bb85ef SHA1 102a83154c62d21ba3271016a6cc96d04a854d62 SHA256 948955cc9a1781767a43486f9dce2990fe5e16fcd815a9733f24b9e7c020350b
AUX ncbi-tools++-2010.06.15-gcc46.patch 2304 RMD160 bec40073066b10a3ca95f5a125dccab2110eaaf4 SHA1 ff0675b263ba7f9f5e7abd33544e9b2fc88ff11b SHA256 ef20fbecab4c7223dd52855015b8cceed2599120ee0d99cf1dfbdb347725a199
DIST ncbi_cxx--Jun_15_2010.tar.gz 17297248 RMD160 35e2ffbe2f37856eb4368e7e98c48c2721848060 SHA1 43c007fb6b3a72389ca33e884c6abd7ad27dbbd0 SHA256 eb24230a9afe9bcf3c52aa6d5d9545dca04649a2569a1bb832ace54aec9d3c54
-DIST ncbi_cxx--May_15_2009.tar.gz 13986626 RMD160 131a04d43056fd4d4fd1781d38a5c1b9e3089a13 SHA1 0cecad93774ce40b3455149b2c3538dfce032b85 SHA256 ccb86f2e33251580e23c94b8d2a4aa4832c278171ded29513f0c9859b303f1d8
-EBUILD ncbi-tools++-2009.05.15-r6.ebuild 2864 RMD160 ebc310a94ca331cfd198ad942455de597fb0b121 SHA1 022c70a9172acf0bd7b808963e43b9aaf0eb71cd SHA256 ace23a124bf4d1526a2d427853662abb205a682cc92632d55095c9b316368678
-EBUILD ncbi-tools++-2010.06.15.ebuild 1651 RMD160 ab685c8d536d4f7ed4a15a085ac1693a69a3d5c0 SHA1 0bd430919bf4a8a01485e6cca1841e5a99718d50 SHA256 b9d8f59a8e488ecdac4cb00739f67c53ce3b6b5d87be43f97543f34f6b608c8e
-MISC ChangeLog 3356 RMD160 3e3ab7ed3493410b919ef0d9c33b9287e0363c57 SHA1 56de50e3036e25ab23b9d2782a72dcc08acb0431 SHA256 e61cb306e7a99914dae8f457144a85b98c1c8b62e552cf1dc884859f0363ba83
+EBUILD ncbi-tools++-2010.06.15-r1.ebuild 1768 RMD160 52571dc6cf6955a26caaeb4ce118e0da4904a96c SHA1 ca31dc75d18a7ec9da6edce72922b51be1b2ef01 SHA256 a9647bc1c0faf5179d3c09b494f8995147571e0522ad0c41bb5834eba900f2a8
+EBUILD ncbi-tools++-2010.06.15.ebuild 1653 RMD160 6653b7ca063cd7abaaa2a1ccba6a2fc4a0cae841 SHA1 0f93842404e562a127179db6ab52ea7f84c38801 SHA256 06b52157803e3f3c7c8bc78d875c26828ff94b514d7fe651ff67999b29e24c43
+MISC ChangeLog 3706 RMD160 120bf81a9ce0b5c9716eaa975993414025d703ec SHA1 8d4ea493e8cf4e4f76738b04737ecf9b35ede3b7 SHA256 cab6468b2e532f49d5db2be80c364611a3ddee0f38cee26db4439d6eeb93301e
MISC metadata.xml 259 RMD160 d9d81b67d635fabd81aef8ae0edf971211ae9072 SHA1 8e32f751c67ff891fa35405a2cf6fb33752d6eb1 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2+fNYACgkQgAnW8HDreRbuiACbB8Nhph5dsriyA7aETFzwDgXW
-/OAAnRLEBOhj7yYdqiuBPvhTf3HcP2Ty
-=niyA
+iEYEARECAAYFAk3Bo68ACgkQgAnW8HDreRbr/wCfQUI6QnArTJLIPImN01hcc5ZO
+RFQAn3GMuE3br8cKps8g/pxNruGu+h36
+=RGJg
-----END PGP SIGNATURE-----
diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded-ng.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded-ng.patch
new file mode 100644
index 000000000000..15b64bc3f8de
--- /dev/null
+++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded-ng.patch
@@ -0,0 +1,719 @@
+ src/algo/align/nw/Makefile.xalgoalignnw.lib | 2 ++
+ src/algo/blast/api/Makefile.xblast.lib | 2 +-
+ src/algo/blast/blastinput/Makefile.blastinput.lib | 2 +-
+ src/algo/winmask/Makefile.xalgowinmask.lib | 1 +
+ src/build-system/configure | 4 ++--
+ src/build-system/configure.ac | 4 ++--
+ src/cgi/Makefile.cgi.lib | 2 ++
+ src/cgi/Makefile.fcgi.lib | 2 ++
+ src/connect/Makefile.connssl.lib | 2 ++
+ src/connect/Makefile.xconnect.lib | 2 ++
+ src/connect/Makefile.xthrserv.lib | 3 ++-
+ src/connect/Makefile.xxconnect.lib | 1 +
+ .../services/Makefile.ncbi_xcache_netcache.lib | 3 ++-
+ src/connect/services/Makefile.xconnserv.lib | 2 +-
+ src/connect/test/Makefile.conntest.lib | 2 ++
+ src/corelib/Makefile.test_boost.lib | 2 ++
+ src/corelib/Makefile.test_mt.lib | 2 ++
+ src/corelib/test/Makefile.pbacktest.lib | 2 ++
+ src/db/bdb/Makefile.bdb.lib | 3 +++
+ src/db/bdb/Makefile.ncbi_xcache_bdb.lib | 2 +-
+ src/db/sqlite/Makefile.sqlitewrapp.lib | 3 +++
+ src/dbapi/Makefile.dbapi.lib | 3 +++
+ src/dbapi/driver/Makefile.dbapi_driver.lib | 1 +
+ .../driver/samples/Makefile.dbapi_sample_base.lib | 2 ++
+ .../python/Makefile.python_ncbi_dbapi.lib | 2 +-
+ src/dbapi/simple/Makefile.sdbapi.lib | 2 ++
+ src/html/Makefile.html.lib | 1 +
+ src/objects/biblio/Makefile.biblio.lib | 2 ++
+ src/objects/blast/Makefile.blast.lib | 2 ++
+ src/objects/blast/Makefile.xnetblastcli.lib | 2 ++
+ src/objects/general/Makefile.general.lib | 2 ++
+ src/objects/medline/Makefile.medline.lib | 2 ++
+ src/objects/omssa/Makefile.omssa.lib | 2 ++
+ src/objects/pub/Makefile.pub.lib | 2 ++
+ src/objects/scoremat/Makefile.scoremat.lib | 2 ++
+ src/objects/seq/Makefile.seq.lib | 2 ++
+ src/objects/seqcode/Makefile.seqcode.lib | 2 ++
+ src/objects/submit/Makefile.submit.lib | 3 +++
+ src/objects/valid/Makefile.valid.lib | 2 ++
+ src/objmgr/util/Makefile.util.lib | 2 ++
+ .../align_format/Makefile.align_format.lib | 2 ++
+ src/objtools/blast/seqdb_reader/Makefile.seqdb.lib | 1 +
+ src/objtools/cleanup/Makefile.cleanup.lib | 2 ++
+ .../blastdb/Makefile.ncbi_xloader_blastdb.lib | 1 +
+ .../data_loaders/genbank/Makefile.ncbi_xreader.lib | 2 +-
+ src/objtools/readers/Makefile.xobjread.lib | 3 +--
+ src/objtools/readers/Makefile.xobjreadex.lib | 2 ++
+ src/objtools/validator/Makefile.validator.lib | 2 ++
+ src/serial/Makefile.serial.lib | 2 ++
+ src/serial/soap/Makefile.soap.lib | 2 ++
+ src/serial/soap/Makefile.soap_server.lib | 2 ++
+ src/serial/test/Makefile.we_cpp.lib | 2 ++
+ src/util/Makefile.util.lib | 2 ++
+ src/util/compress/api/Makefile.compress.lib | 2 +-
+ src/util/qparse/Makefile.xqueryparse.lib | 2 ++
+ src/util/regexp/Makefile.regexp.lib | 2 ++
+ src/util/sequtil/Makefile.sequtil.lib | 2 ++
+ src/util/xregexp/Makefile.xregexp.lib | 2 +-
+ 58 files changed, 105 insertions(+), 16 deletions(-)
+
+diff --git a/src/algo/align/nw/Makefile.xalgoalignnw.lib b/src/algo/align/nw/Makefile.xalgoalignnw.lib
+index db149c4..25d62b9 100644
+--- a/src/algo/align/nw/Makefile.xalgoalignnw.lib
++++ b/src/algo/align/nw/Makefile.xalgoalignnw.lib
+@@ -17,3 +17,5 @@ LIB = xalgoalignnw
+
+ CXXFLAGS = $(FAST_CXXFLAGS) -D ALGOALIGN_NW_SPLIGN_MAKE_PUBLIC_BINARY
+ LDFLAGS = $(FAST_LDFLAGS)
++
++DLL_LIB = xser xncbi xutil
+diff --git a/src/algo/blast/api/Makefile.xblast.lib b/src/algo/blast/api/Makefile.xblast.lib
+index 68d5ad8..8bf6ab5 100644
+--- a/src/algo/blast/api/Makefile.xblast.lib
++++ b/src/algo/blast/api/Makefile.xblast.lib
+@@ -73,7 +73,7 @@ SRC = $(SRC_C:%=.core_%) $(SRC_CXX)
+
+ LIB = xblast
+
+-DLL_LIB = xalgodustmask xobjutil $(OBJMGR_LIBS)
++DLL_LIB = xalgowinmask composition_adjustment xalgoblastdbindex xalgodustmask xobjutil $(OBJMGR_LIBS)
+
+ CFLAGS = $(FAST_CFLAGS)
+ # Strict gcc flags
+diff --git a/src/algo/blast/blastinput/Makefile.blastinput.lib b/src/algo/blast/blastinput/Makefile.blastinput.lib
+index ede2c7b..da2f544 100644
+--- a/src/algo/blast/blastinput/Makefile.blastinput.lib
++++ b/src/algo/blast/blastinput/Makefile.blastinput.lib
+@@ -20,7 +20,7 @@ SRC = $(SRC_CXX)
+
+ LIB = blastinput
+
+-DLL_LIB = xblast $(OBJMGR_LIBS)
++DLL_LIB = xblast $(OBJMGR_LIBS) seqdb
+
+ # should be redundant, given the above :-/
+ ASN_DEP = seqset xnetblast
+diff --git a/src/algo/winmask/Makefile.xalgowinmask.lib b/src/algo/winmask/Makefile.xalgowinmask.lib
+index 951e656..8297ec7 100644
+--- a/src/algo/winmask/Makefile.xalgowinmask.lib
++++ b/src/algo/winmask/Makefile.xalgowinmask.lib
+@@ -19,3 +19,4 @@ SRC = seq_masker seq_masker_score_mean seq_masker_score_mean_glob \
+ CXXFLAGS = $(FAST_CXXFLAGS)
+ LDFLAGS = $(FAST_LDFLAGS)
+
++DLL_LIB = seqmasks_io
+diff --git a/src/build-system/configure b/src/build-system/configure
+index a088db7..d858c86 100755
+--- a/src/build-system/configure
++++ b/src/build-system/configure
+@@ -5054,10 +5054,10 @@ if test -z "$DEF_FAST_FLAGS" -o -z "$FAST_CXXFLAGS" ; then
+ DEF_FAST_FLAGS="-O2"
+ ;;
+ GCC:* )
+- DEF_FAST_FLAGS="-O9 -finline-functions -ffast-math -fstrict-aliasing"
++ DEF_FAST_FLAGS=""
+ if test "$with_profiling" != "yes"; then
+ # incompatible with -pg
+- DEF_FAST_FLAGS="$DEF_FAST_FLAGS -fomit-frame-pointer"
++ DEF_FAST_FLAGS="$DEF_FAST_FLAGS"
+ fi
+ ;;
+ WorkShop5[89]* | WorkShop510 )
+diff --git a/src/build-system/configure.ac b/src/build-system/configure.ac
+index 7810bc3..5ad6d38 100644
+--- a/src/build-system/configure.ac
++++ b/src/build-system/configure.ac
+@@ -1276,10 +1276,10 @@ if test -z "$DEF_FAST_FLAGS" -o -z "$FAST_CXXFLAGS" ; then
+ DEF_FAST_FLAGS="-O2"
+ ;;
+ GCC:* )
+- DEF_FAST_FLAGS="-O9 -finline-functions -ffast-math -fstrict-aliasing"
++ DEF_FAST_FLAGS=""
+ if test "$with_profiling" != "yes"; then
+ # incompatible with -pg
+- DEF_FAST_FLAGS="$DEF_FAST_FLAGS -fomit-frame-pointer"
++ DEF_FAST_FLAGS="$DEF_FAST_FLAGS"
+ fi
+ ;;
+ WorkShop5[[89]]* | WorkShop510 )
+diff --git a/src/cgi/Makefile.cgi.lib b/src/cgi/Makefile.cgi.lib
+index a990390..81f4e7e 100644
+--- a/src/cgi/Makefile.cgi.lib
++++ b/src/cgi/Makefile.cgi.lib
+@@ -10,4 +10,6 @@ LIB = xcgi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(FASTCGI_INCLUDE)
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = vakatov
+diff --git a/src/cgi/Makefile.fcgi.lib b/src/cgi/Makefile.fcgi.lib
+index 2569b41..42b4196 100644
+--- a/src/cgi/Makefile.fcgi.lib
++++ b/src/cgi/Makefile.fcgi.lib
+@@ -11,4 +11,6 @@ LIB = xfcgi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(FASTCGI_INCLUDE) -DNCBI_XFCGI_EXPORTS
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = vakatov
+diff --git a/src/connect/Makefile.connssl.lib b/src/connect/Makefile.connssl.lib
+index b400ca2..c252172 100644
+--- a/src/connect/Makefile.connssl.lib
++++ b/src/connect/Makefile.connssl.lib
+@@ -4,6 +4,8 @@ SRC = ncbi_gnutls
+
+ LIB = connssl
+
++DLL_LIB = connect
++
+ CPPFLAGS = $(GNUTLS_INCLUDE) $(ORIG_CPPFLAGS)
+ LIBS = $(GNUTLS_LIBS) $(ORIG_LIBS)
+
+diff --git a/src/connect/Makefile.xconnect.lib b/src/connect/Makefile.xconnect.lib
+index 473bb0b..2550dda 100644
+--- a/src/connect/Makefile.xconnect.lib
++++ b/src/connect/Makefile.xconnect.lib
+@@ -11,6 +11,8 @@ include $(srcdir)/Makefile.xxconnect.lib
+ SRC = $(SRC_C) $(SRC_CXX)
+ UNIX_SRC = $(LOCAL_LBSM)
+
++DLL_LIB = xncbi xutil
++
+ LIB = xconnect
+ PROJ_TAG = core
+
+diff --git a/src/connect/Makefile.xthrserv.lib b/src/connect/Makefile.xthrserv.lib
+index 23a845b..9d90fd0 100644
+--- a/src/connect/Makefile.xthrserv.lib
++++ b/src/connect/Makefile.xthrserv.lib
+@@ -4,6 +4,7 @@ SRC = threaded_server server server_monitor connection_pool
+ LIB = xthrserv
+ PROJ_TAG = core
+ LIBS = $(NETWORK_LIBS)
+-DLL_LIB = xutil xconnect
++
++DLL_LIB = xncbi xutil xconnect
+
+ WATCHERS = lavr
+diff --git a/src/connect/Makefile.xxconnect.lib b/src/connect/Makefile.xxconnect.lib
+index 382f0b9..c31ace3 100644
+--- a/src/connect/Makefile.xxconnect.lib
++++ b/src/connect/Makefile.xxconnect.lib
+@@ -13,6 +13,7 @@ SRC = $(SRC_CXX)
+ LIB = xxconnect
+ PROJ_TAG = core
+
++DLL_LIB = xncbi xutil connect
+ LIBS = $(NETWORK_LIBS) $(ORIG_LIBS)
+
+ WATCHERS = lavr
+diff --git a/src/connect/services/Makefile.ncbi_xcache_netcache.lib b/src/connect/services/Makefile.ncbi_xcache_netcache.lib
+index 606f4f1..2911eff 100644
+--- a/src/connect/services/Makefile.ncbi_xcache_netcache.lib
++++ b/src/connect/services/Makefile.ncbi_xcache_netcache.lib
+@@ -6,7 +6,8 @@ SRC = neticache_client
+ LIB = ncbi_xcache_netcache
+
+ LIB_OR_DLL = both
+-DLL_LIB = xconnserv xconnect xutil
++
++DLL_LIB = xconnserv xconnect xutil xncbi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS)
+ LIBS = $(ORIG_LIBS)
+diff --git a/src/connect/services/Makefile.xconnserv.lib b/src/connect/services/Makefile.xconnserv.lib
+index 8124a0d..de45848 100644
+--- a/src/connect/services/Makefile.xconnserv.lib
++++ b/src/connect/services/Makefile.xconnserv.lib
+@@ -16,6 +16,6 @@ LIB = xconnserv
+ PROJ_TAG = core
+ LIBS = $(NETWORK_LIBS)
+
+-DLL_LIB = xthrserv xconnect xutil
++DLL_LIB = xthrserv xconnect xutil xncbi
+
+ WATCHERS = kazimird
+diff --git a/src/connect/test/Makefile.conntest.lib b/src/connect/test/Makefile.conntest.lib
+index 08f7bb9..9389e09 100644
+--- a/src/connect/test/Makefile.conntest.lib
++++ b/src/connect/test/Makefile.conntest.lib
+@@ -3,4 +3,6 @@
+ SRC = ncbi_conntest
+ LIB = xconntest
+
++DLL_LIB = xncbi xutil connect
++
+ WATCHERS = lar
+diff --git a/src/corelib/Makefile.test_boost.lib b/src/corelib/Makefile.test_boost.lib
+index b19bc5b..036951a 100644
+--- a/src/corelib/Makefile.test_boost.lib
++++ b/src/corelib/Makefile.test_boost.lib
+@@ -3,6 +3,8 @@
+ SRC = test_boost
+ LIB = test_boost
+
++DLL_LIB = xncbi
++
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BOOST_INCLUDE)
+
+ REQUIRES = Boost.Test.Included
+diff --git a/src/corelib/Makefile.test_mt.lib b/src/corelib/Makefile.test_mt.lib
+index 90c10d2..d99347b 100644
+--- a/src/corelib/Makefile.test_mt.lib
++++ b/src/corelib/Makefile.test_mt.lib
+@@ -3,6 +3,8 @@
+ SRC = test_mt
+ LIB = test_mt
+
++DLL_LIB = xncbi
++
+ # REQUIRES = MT
+
+ WATCHERS = grichenk
+diff --git a/src/corelib/test/Makefile.pbacktest.lib b/src/corelib/test/Makefile.pbacktest.lib
+index da0c616..e9aeba7 100644
+--- a/src/corelib/test/Makefile.pbacktest.lib
++++ b/src/corelib/test/Makefile.pbacktest.lib
+@@ -3,4 +3,6 @@
+ SRC = pbacktest
+ LIB = xpbacktest
+
++DLL_LIB = xncbi
++
+ WATCHERS = lavr
+diff --git a/src/db/bdb/Makefile.bdb.lib b/src/db/bdb/Makefile.bdb.lib
+index 3729707..45874cf 100644
+--- a/src/db/bdb/Makefile.bdb.lib
++++ b/src/db/bdb/Makefile.bdb.lib
+@@ -13,4 +13,7 @@ LIB = bdb
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BERKELEYDB_INCLUDE)
+
++DLL_LIB = xncbi xutil
++LIBS = $(BERKELEYDB_LIBS)
++
+ WATCHERS = kuznets
+diff --git a/src/db/bdb/Makefile.ncbi_xcache_bdb.lib b/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
+index 7e97a26..8f54efc 100644
+--- a/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
++++ b/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
+@@ -8,7 +8,7 @@ SRC = bdb_blobcache
+ LIB = ncbi_xcache_bdb
+
+ LIB_OR_DLL = both
+-DLL_LIB = bdb xutil
++DLL_LIB = bdb xutil xncbi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BERKELEYDB_INCLUDE)
+ LIBS = $(BERKELEYDB_LIBS) $(ORIG_LIBS)
+diff --git a/src/db/sqlite/Makefile.sqlitewrapp.lib b/src/db/sqlite/Makefile.sqlitewrapp.lib
+index cecfd16..5d72f9c 100644
+--- a/src/db/sqlite/Makefile.sqlitewrapp.lib
++++ b/src/db/sqlite/Makefile.sqlitewrapp.lib
+@@ -7,4 +7,7 @@ CPPFLAGS= $(ORIG_CPPFLAGS) $(SQLITE3_INCLUDE)
+
+ REQUIRES = SQLITE3
+
++DLL_LIB = xncbi xutil
++LIBS = $(SQLITE3_LIBS)
++
+ WATCHERS = ivanovp
+diff --git a/src/dbapi/Makefile.dbapi.lib b/src/dbapi/Makefile.dbapi.lib
+index 6e3ad4c..d1b5425 100644
+--- a/src/dbapi/Makefile.dbapi.lib
++++ b/src/dbapi/Makefile.dbapi.lib
+@@ -5,7 +5,10 @@ SRC = variant active_obj dbapi driver_mgr err_handler ds_impl conn_impl \
+ bytestreambuf blobstream \
+ cursor_impl bulkinsert rw_impl
+
++#ASN_DEP = dbapi_driver
+ LIB = dbapi
++DLL_LIB = xncbi xutil
++LIBS = $(PYTHON_LIBS)
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(SYBASE_INCLUDE)
+
+diff --git a/src/dbapi/driver/Makefile.dbapi_driver.lib b/src/dbapi/driver/Makefile.dbapi_driver.lib
+index dfeac5a..8128559 100644
+--- a/src/dbapi/driver/Makefile.dbapi_driver.lib
++++ b/src/dbapi/driver/Makefile.dbapi_driver.lib
+@@ -15,6 +15,7 @@ LIB_OR_DLL = both
+
+ CPPFLAGS = $(ORIG_CPPFLAGS)
+
++DLL_LIB = xncbi xutil
+ LIBS = $(DL_LIBS) $(ORIG_LIBS)
+
+ # Work around a mysterious bug in Apple's GCC.
+diff --git a/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib b/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
+index 941ccd6..ef0226f 100644
+--- a/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
++++ b/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
+@@ -5,4 +5,6 @@ LIB = dbapi_sample_base
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(SYBASE_INCLUDE)
+
++DLL_LIB = xncbi xutil dbapi_driver
++
+ WATCHERS = ivanovp
+diff --git a/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib b/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
+index ebe08c4..86ecda6 100644
+--- a/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
++++ b/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
+@@ -11,7 +11,7 @@ LIB_OR_DLL = dll
+
+ # Dependencies for shared library
+ DLL_LIB = dbapi dbapi_driver$(DLL) $(XCONNEXT) xconnect xutil xncbi
+-LIBS = $(RUNPATH_ORIGIN)/python_ncbi_dbapi/$(NCBI_PACKAGE_VERSION) $(ORIG_LIBS)
++LIBS = $(RUNPATH_ORIGIN)/python_ncbi_dbapi/$(NCBI_PACKAGE_VERSION) $(ORIG_LIBS) $(PYTHON_LIBS)
+ # Drop other flags to build with full dependencies under ICC.
+ DLL_LDFLAGS = $(DLL_UNDEF_FLAGS)
+
+diff --git a/src/dbapi/simple/Makefile.sdbapi.lib b/src/dbapi/simple/Makefile.sdbapi.lib
+index 603fd1e..ccf87c9 100644
+--- a/src/dbapi/simple/Makefile.sdbapi.lib
++++ b/src/dbapi/simple/Makefile.sdbapi.lib
+@@ -3,5 +3,7 @@
+ SRC = sdbapi
+ LIB = sdbapi
+
++DLL_LIB = xncbi xutil dbapi_driver ncbi_xdbapi_ftds xconnect xser bdb xconnserv dbapi
++
+ WATCHERS = ivanovp
+
+diff --git a/src/html/Makefile.html.lib b/src/html/Makefile.html.lib
+index a57c1e3..dd520a0 100644
+--- a/src/html/Makefile.html.lib
++++ b/src/html/Makefile.html.lib
+@@ -7,4 +7,5 @@ SRC = node html htmlhelper page pager selection components \
+ jsmenu commentdiag indentstream html_exception writer_htmlenc
+ LIB = xhtml
+
++DLL_LIB = xncbi xutil
+ WATCHERS = ivanov
+diff --git a/src/objects/biblio/Makefile.biblio.lib b/src/objects/biblio/Makefile.biblio.lib
+index 275c307..6b5a85b 100644
+--- a/src/objects/biblio/Makefile.biblio.lib
++++ b/src/objects/biblio/Makefile.biblio.lib
+@@ -1,2 +1,4 @@
+ LIB = biblio
+ SRC = biblio__ biblio___ label_util
++
++DLL_LIB = general xser xncbi xutil
+diff --git a/src/objects/blast/Makefile.blast.lib b/src/objects/blast/Makefile.blast.lib
+index b9d7d38..0fdb87f 100644
+--- a/src/objects/blast/Makefile.blast.lib
++++ b/src/objects/blast/Makefile.blast.lib
+@@ -1,2 +1,4 @@
+ LIB = xnetblast
+ SRC = blast__ blast___ names
++
++DLL_LIB = xncbi xutil xser seq
+diff --git a/src/objects/blast/Makefile.xnetblastcli.lib b/src/objects/blast/Makefile.xnetblastcli.lib
+index 96325c4..20ee95c 100644
+--- a/src/objects/blast/Makefile.xnetblastcli.lib
++++ b/src/objects/blast/Makefile.xnetblastcli.lib
+@@ -2,3 +2,5 @@ ASN_DEP = xnetblast
+
+ LIB = xnetblastcli
+ SRC = blastclient blastclient_
++
++DLL_LIB = xncbi xutil seqset connect xconnect
+diff --git a/src/objects/general/Makefile.general.lib b/src/objects/general/Makefile.general.lib
+index 951304f..3be083d 100644
+--- a/src/objects/general/Makefile.general.lib
++++ b/src/objects/general/Makefile.general.lib
+@@ -1,2 +1,4 @@
+ LIB = general
+ SRC = general__ general___ uoconv
++
++DLL_LIB = xser xncbi xutil
+diff --git a/src/objects/medline/Makefile.medline.lib b/src/objects/medline/Makefile.medline.lib
+index ea28066..eb42aa4 100644
+--- a/src/objects/medline/Makefile.medline.lib
++++ b/src/objects/medline/Makefile.medline.lib
+@@ -1,2 +1,4 @@
+ LIB = medline
+ SRC = medline__ medline___
++
++DLL_LIB = general biblio
+diff --git a/src/objects/omssa/Makefile.omssa.lib b/src/objects/omssa/Makefile.omssa.lib
+index b79617f..e1d4a9e 100644
+--- a/src/objects/omssa/Makefile.omssa.lib
++++ b/src/objects/omssa/Makefile.omssa.lib
+@@ -2,3 +2,5 @@ APP_DEP = seq
+
+ LIB = omssa
+ SRC = omssa__ omssa___
++
++DLL_LIB = seq
+diff --git a/src/objects/pub/Makefile.pub.lib b/src/objects/pub/Makefile.pub.lib
+index 78c12e1..9baa08d 100644
+--- a/src/objects/pub/Makefile.pub.lib
++++ b/src/objects/pub/Makefile.pub.lib
+@@ -1,2 +1,4 @@
+ LIB = pub
+ SRC = pub__ pub___
++
++DLL_LIB = medline biblio
+diff --git a/src/objects/scoremat/Makefile.scoremat.lib b/src/objects/scoremat/Makefile.scoremat.lib
+index 62e01f5..6260041 100644
+--- a/src/objects/scoremat/Makefile.scoremat.lib
++++ b/src/objects/scoremat/Makefile.scoremat.lib
+@@ -1,2 +1,4 @@
+ LIB = scoremat
+ SRC = scoremat__ scoremat___
++
++DLL_LIB = seqset
+diff --git a/src/objects/seq/Makefile.seq.lib b/src/objects/seq/Makefile.seq.lib
+index 5ca2820..3671ee1 100644
+--- a/src/objects/seq/Makefile.seq.lib
++++ b/src/objects/seq/Makefile.seq.lib
+@@ -10,3 +10,5 @@ LIB = seq
+ SRC = $(ASN:%=%__) $(ASN:%=%___) seqport_util \
+ seq_id_tree seq_id_handle seq_id_mapper \
+ seq_loc_mapper_base seq_align_mapper_base seqlocinfo
++
++DLL_LIB = general seqcode pub sequtil biblio xser xncbi xutil
+diff --git a/src/objects/seqcode/Makefile.seqcode.lib b/src/objects/seqcode/Makefile.seqcode.lib
+index dc9d60e..1fcd293 100644
+--- a/src/objects/seqcode/Makefile.seqcode.lib
++++ b/src/objects/seqcode/Makefile.seqcode.lib
+@@ -1,2 +1,4 @@
+ LIB = seqcode
+ SRC = seqcode__ seqcode___
++
++DLL_LIB = xser
+diff --git a/src/objects/submit/Makefile.submit.lib b/src/objects/submit/Makefile.submit.lib
+index 74798f8..388a187 100644
+--- a/src/objects/submit/Makefile.submit.lib
++++ b/src/objects/submit/Makefile.submit.lib
+@@ -1,2 +1,5 @@
+ LIB = submit
+ SRC = submit__ submit___
++
++
++DLL_LIB = xser
+diff --git a/src/objects/valid/Makefile.valid.lib b/src/objects/valid/Makefile.valid.lib
+index 86a00a0..7090d74 100644
+--- a/src/objects/valid/Makefile.valid.lib
++++ b/src/objects/valid/Makefile.valid.lib
+@@ -1,3 +1,5 @@
+ # $Id: ncbi-tools++-2010.06.15-asneeded-ng.patch,v 1.1 2011/05/04 19:06:17 jlec Exp $
+ LIB = valid
+ SRC = valid__ valid___
++
++DLL_LIB = xregexp
+diff --git a/src/objmgr/util/Makefile.util.lib b/src/objmgr/util/Makefile.util.lib
+index 90eeee0..5977767 100644
+--- a/src/objmgr/util/Makefile.util.lib
++++ b/src/objmgr/util/Makefile.util.lib
+@@ -8,5 +8,7 @@ ASN_DEP = submit
+ SRC = weight sequence feature seqtitle create_defline obj_sniff seq_loc_util seq_align_util
+ LIB = xobjutil
+
++DLL_LIB = xobjmgr
++
+ WATCHERS = ucko vasilche
+
+diff --git a/src/objtools/align_format/Makefile.align_format.lib b/src/objtools/align_format/Makefile.align_format.lib
+index fe0c16d..c4535ea 100644
+--- a/src/objtools/align_format/Makefile.align_format.lib
++++ b/src/objtools/align_format/Makefile.align_format.lib
+@@ -16,3 +16,5 @@ CPPFLAGS = $(ORIG_CPPFLAGS)
+ # CXXFLAGS = $(FAST_CXXFLAGS)
+ #
+ # LIB_OR_DLL = dll
++
++DLL_LIB = seqdb blastdb
+diff --git a/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib b/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
+index 11c7fae..b930bc9 100644
+--- a/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
++++ b/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
+@@ -28,3 +28,4 @@ CFLAGS = $(FAST_CFLAGS)
+ CXXFLAGS = $(FAST_CXXFLAGS)
+ LDFLAGS = $(FAST_LDFLAGS)
+
++DLL_LIB = blastdb seq xobjmgr
+diff --git a/src/objtools/cleanup/Makefile.cleanup.lib b/src/objtools/cleanup/Makefile.cleanup.lib
+index d72e4ee..1b46b41 100644
+--- a/src/objtools/cleanup/Makefile.cleanup.lib
++++ b/src/objtools/cleanup/Makefile.cleanup.lib
+@@ -8,3 +8,5 @@ SRC = cleanup cleanupp cleanup_feat cleanup_general cleanup_pub \
+ cleanup_utils cleanup_biosource cleanup_gbqual cleanup_desc
+
+ LIB = xcleanup
++
++DLL_LIB = xobjmgr
+diff --git a/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib b/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
+index 22dc6df..868da0f 100644
+--- a/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
++++ b/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
+@@ -5,3 +5,4 @@ SRC = bdbloader cached_sequence local_blastdb_adapter
+
+ ASN_DEP = blastdb seqset
+
++DLL_LIB = seqdb
+diff --git a/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib b/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
+index b938560..07bddd8 100644
+--- a/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
++++ b/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
+@@ -12,4 +12,4 @@ LIB = ncbi_xreader
+ LIB_OR_DLL = both
+
+ # Dependencies for shared library
+-DLL_LIB =
++DLL_LIB = xcompress
+diff --git a/src/objtools/readers/Makefile.xobjread.lib b/src/objtools/readers/Makefile.xobjread.lib
+index c5c4789..58b304a 100644
+--- a/src/objtools/readers/Makefile.xobjread.lib
++++ b/src/objtools/readers/Makefile.xobjread.lib
+@@ -8,5 +8,4 @@ SRC = acc_pattern agp_read agp_util aln_reader bed_reader cigar fasta \
+ multireader phrap reader_base readfeat rm_reader wiggle_data \
+ wiggle_reader
+
+-DLL_LIB = creaders
+-
++DLL_LIB = creaders xncbi seq biblio seqset
+diff --git a/src/objtools/readers/Makefile.xobjreadex.lib b/src/objtools/readers/Makefile.xobjreadex.lib
+index 8152069..da01b3a 100644
+--- a/src/objtools/readers/Makefile.xobjreadex.lib
++++ b/src/objtools/readers/Makefile.xobjreadex.lib
+@@ -5,3 +5,5 @@ ASN_DEP = seq seqset
+ LIB = xobjreadex
+ SRC = glimmer_reader idmapper idmapper_builtin idmapper_config \
+ idmapper_database
++
++DLL_LIB = xncbi xutil seq xobjmgr
+diff --git a/src/objtools/validator/Makefile.validator.lib b/src/objtools/validator/Makefile.validator.lib
+index bc8ae31..b16b11e 100644
+--- a/src/objtools/validator/Makefile.validator.lib
++++ b/src/objtools/validator/Makefile.validator.lib
+@@ -9,3 +9,5 @@ SRC = validator validatorp valid_biosource valid_pub validerror_align validerror
+ LIB = xvalidate
+
+ ASN_DEP = general biblio pub seq seqset submit taxon3 valerr valid
++
++DLL_LIB = general biblio pub seq seqset submit taxon3 valerr valid xobjmgr xalnmgr
+diff --git a/src/serial/Makefile.serial.lib b/src/serial/Makefile.serial.lib
+index 2563b5f..d2e23b9 100644
+--- a/src/serial/Makefile.serial.lib
++++ b/src/serial/Makefile.serial.lib
+@@ -18,4 +18,6 @@ SRC = \
+
+ LIB = xser
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = gouriano
+diff --git a/src/serial/soap/Makefile.soap.lib b/src/serial/soap/Makefile.soap.lib
+index e77d4ee..936798a 100644
+--- a/src/serial/soap/Makefile.soap.lib
++++ b/src/serial/soap/Makefile.soap.lib
+@@ -7,4 +7,6 @@ SRC = soap_message soap_readhook soap_writehook soap_client \
+ soap_11__ soap_11___
+ LIB = xsoap
+
++DLL_LIB = xncbi xutil xser xconnect
++
+ WATCHERS = gouriano
+diff --git a/src/serial/soap/Makefile.soap_server.lib b/src/serial/soap/Makefile.soap_server.lib
+index c961496..4892f55 100644
+--- a/src/serial/soap/Makefile.soap_server.lib
++++ b/src/serial/soap/Makefile.soap_server.lib
+@@ -8,4 +8,6 @@ LIB = xsoap_server
+
+ REQUIRES = cgi
+
++DLL_LIB = xncbi xutil xcgi xsoap xser
++
+ WATCHERS = gouriano
+diff --git a/src/serial/test/Makefile.we_cpp.lib b/src/serial/test/Makefile.we_cpp.lib
+index 9877691..1c7250b 100644
+--- a/src/serial/test/Makefile.we_cpp.lib
++++ b/src/serial/test/Makefile.we_cpp.lib
+@@ -1,5 +1,7 @@
+ LIB = we_cpp
+ SRC = we_cpp__ we_cpp___
+
++DLL_LIB = xncbi xutil xser
++
+ WATCHERS = gouriano
+
+diff --git a/src/util/Makefile.util.lib b/src/util/Makefile.util.lib
+index f103ff1..98d2cd0 100644
+--- a/src/util/Makefile.util.lib
++++ b/src/util/Makefile.util.lib
+@@ -11,6 +11,8 @@ SRC = random_gen utf8 checksum bytesrc strbuffer itree smalldns \
+ LIB = xutil
+ PROJ_TAG = core
+
++DLL_LIB = xncbi
++
+ LIBS = $(ORIG_LIBS)
+
+ WATCHERS = vakatov
+diff --git a/src/util/compress/api/Makefile.compress.lib b/src/util/compress/api/Makefile.compress.lib
+index f27e8fb..18b0634 100644
+--- a/src/util/compress/api/Makefile.compress.lib
++++ b/src/util/compress/api/Makefile.compress.lib
+@@ -6,7 +6,7 @@ LIB = xcompress
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(CMPRS_INCLUDE)
+
+-DLL_LIB = $(BZ2_LIB) $(Z_LIB) $(LZO_LIB)
++DLL_LIB = $(BZ2_LIB) $(Z_LIB) $(LZO_LIB) xutil xncbi
+ LIBS = $(BZ2_LIBS) $(Z_LIBS) $(LZO_LIBS)
+
+ WATCHERS = ivanov
+diff --git a/src/util/qparse/Makefile.xqueryparse.lib b/src/util/qparse/Makefile.xqueryparse.lib
+index a003930..0f59ec0 100644
+--- a/src/util/qparse/Makefile.xqueryparse.lib
++++ b/src/util/qparse/Makefile.xqueryparse.lib
+@@ -6,4 +6,6 @@ SRC = query_parse parser query_tree_print query_exec
+ query_parser_bison.tab.c : query_parser_bison.y
+ bison -v -p ncbi_q_ -o query_parser_bison.tab.c query_parser_bison.y
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = kuznets
+diff --git a/src/util/regexp/Makefile.regexp.lib b/src/util/regexp/Makefile.regexp.lib
+index 0f8d5e8..04d87d9 100644
+--- a/src/util/regexp/Makefile.regexp.lib
++++ b/src/util/regexp/Makefile.regexp.lib
+@@ -7,6 +7,8 @@ SRC = pcre_chartables pcre_compile pcre_config pcre_dfa_exec pcre_exec pcre_full
+
+ LIB = regexp
+
++DLL_LIB = xncbi xutil
++
+ CPPFLAGS = -I$(includedir)/util/regexp -DHAVE_CONFIG_H $(ORIG_CPPFLAGS)
+
+ WATCHERS = ivanov
+diff --git a/src/util/sequtil/Makefile.sequtil.lib b/src/util/sequtil/Makefile.sequtil.lib
+index c068a32..5c89253 100644
+--- a/src/util/sequtil/Makefile.sequtil.lib
++++ b/src/util/sequtil/Makefile.sequtil.lib
+@@ -3,4 +3,6 @@
+ LIB = sequtil
+ SRC = sequtil sequtil_convert sequtil_convert_imp sequtil_manip sequtil_tables sequtil_shared
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = shomrat
+diff --git a/src/util/xregexp/Makefile.xregexp.lib b/src/util/xregexp/Makefile.xregexp.lib
+index 965fac4..3accea3 100644
+--- a/src/util/xregexp/Makefile.xregexp.lib
++++ b/src/util/xregexp/Makefile.xregexp.lib
+@@ -6,7 +6,7 @@ LIB = xregexp
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(PCRE_INCLUDE)
+
+-DLL_LIB = $(PCRE_LIB)
++DLL_LIB = $(PCRE_LIB) xutil xncbi
+ LIBS = $(PCRE_LIBS)
+
+ WATCHERS = ivanov
diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded.patch
new file mode 100644
index 000000000000..28ff4c6c6edb
--- /dev/null
+++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-2010.06.15-asneeded.patch
@@ -0,0 +1,652 @@
+ src/algo/align/nw/Makefile.xalgoalignnw.lib | 2 ++
+ src/algo/blast/api/Makefile.xblast.lib | 2 +-
+ src/algo/blast/blastinput/Makefile.blastinput.lib | 2 +-
+ src/algo/winmask/Makefile.xalgowinmask.lib | 1 +
+ src/build-system/configure | 4 ++--
+ src/build-system/configure.ac | 4 ++--
+ src/cgi/Makefile.cgi.lib | 2 ++
+ src/cgi/Makefile.fcgi.lib | 2 ++
+ src/connect/Makefile.connssl.lib | 2 ++
+ src/connect/Makefile.xconnect.lib | 2 ++
+ src/connect/Makefile.xthrserv.lib | 3 ++-
+ src/connect/Makefile.xxconnect.lib | 1 +
+ .../services/Makefile.ncbi_xcache_netcache.lib | 3 ++-
+ src/connect/services/Makefile.xconnserv.lib | 2 +-
+ src/connect/test/Makefile.conntest.lib | 2 ++
+ src/corelib/Makefile.test_boost.lib | 2 ++
+ src/corelib/Makefile.test_mt.lib | 2 ++
+ src/corelib/test/Makefile.pbacktest.lib | 2 ++
+ src/db/bdb/Makefile.bdb.lib | 3 +++
+ src/db/bdb/Makefile.ncbi_xcache_bdb.lib | 2 +-
+ src/db/sqlite/Makefile.sqlitewrapp.lib | 3 +++
+ src/dbapi/Makefile.dbapi.lib | 3 +++
+ src/dbapi/driver/Makefile.dbapi_driver.lib | 1 +
+ .../driver/samples/Makefile.dbapi_sample_base.lib | 2 ++
+ .../python/Makefile.python_ncbi_dbapi.lib | 2 +-
+ src/dbapi/simple/Makefile.sdbapi.lib | 2 ++
+ src/html/Makefile.html.lib | 1 +
+ src/objects/biblio/Makefile.biblio.lib | 2 ++
+ src/objects/blast/Makefile.blast.lib | 2 ++
+ src/objects/blast/Makefile.xnetblastcli.lib | 2 ++
+ src/objects/general/Makefile.general.lib | 2 ++
+ src/objects/medline/Makefile.medline.lib | 2 ++
+ src/objects/omssa/Makefile.omssa.lib | 2 ++
+ src/objects/pub/Makefile.pub.lib | 2 ++
+ src/objects/scoremat/Makefile.scoremat.lib | 2 ++
+ src/objects/seq/Makefile.seq.lib | 2 ++
+ .../align_format/Makefile.align_format.lib | 2 ++
+ src/objtools/blast/seqdb_reader/Makefile.seqdb.lib | 1 +
+ .../blastdb/Makefile.ncbi_xloader_blastdb.lib | 1 +
+ .../data_loaders/genbank/Makefile.ncbi_xreader.lib | 2 +-
+ src/objtools/readers/Makefile.xobjread.lib | 3 +--
+ src/objtools/readers/Makefile.xobjreadex.lib | 2 ++
+ src/serial/Makefile.serial.lib | 2 ++
+ src/serial/soap/Makefile.soap.lib | 2 ++
+ src/serial/soap/Makefile.soap_server.lib | 2 ++
+ src/serial/test/Makefile.we_cpp.lib | 2 ++
+ src/util/Makefile.util.lib | 2 ++
+ src/util/compress/api/Makefile.compress.lib | 2 +-
+ src/util/qparse/Makefile.xqueryparse.lib | 2 ++
+ src/util/regexp/Makefile.regexp.lib | 2 ++
+ src/util/sequtil/Makefile.sequtil.lib | 2 ++
+ src/util/xregexp/Makefile.xregexp.lib | 2 +-
+ 52 files changed, 92 insertions(+), 16 deletions(-)
+
+diff --git a/src/algo/align/nw/Makefile.xalgoalignnw.lib b/src/algo/align/nw/Makefile.xalgoalignnw.lib
+index db149c4..25d62b9 100644
+--- a/src/algo/align/nw/Makefile.xalgoalignnw.lib
++++ b/src/algo/align/nw/Makefile.xalgoalignnw.lib
+@@ -17,3 +17,5 @@ LIB = xalgoalignnw
+
+ CXXFLAGS = $(FAST_CXXFLAGS) -D ALGOALIGN_NW_SPLIGN_MAKE_PUBLIC_BINARY
+ LDFLAGS = $(FAST_LDFLAGS)
++
++DLL_LIB = xser xncbi xutil
+diff --git a/src/algo/blast/api/Makefile.xblast.lib b/src/algo/blast/api/Makefile.xblast.lib
+index 68d5ad8..8bf6ab5 100644
+--- a/src/algo/blast/api/Makefile.xblast.lib
++++ b/src/algo/blast/api/Makefile.xblast.lib
+@@ -73,7 +73,7 @@ SRC = $(SRC_C:%=.core_%) $(SRC_CXX)
+
+ LIB = xblast
+
+-DLL_LIB = xalgodustmask xobjutil $(OBJMGR_LIBS)
++DLL_LIB = xalgowinmask composition_adjustment xalgoblastdbindex xalgodustmask xobjutil $(OBJMGR_LIBS)
+
+ CFLAGS = $(FAST_CFLAGS)
+ # Strict gcc flags
+diff --git a/src/algo/blast/blastinput/Makefile.blastinput.lib b/src/algo/blast/blastinput/Makefile.blastinput.lib
+index ede2c7b..da2f544 100644
+--- a/src/algo/blast/blastinput/Makefile.blastinput.lib
++++ b/src/algo/blast/blastinput/Makefile.blastinput.lib
+@@ -20,7 +20,7 @@ SRC = $(SRC_CXX)
+
+ LIB = blastinput
+
+-DLL_LIB = xblast $(OBJMGR_LIBS)
++DLL_LIB = xblast $(OBJMGR_LIBS) seqdb
+
+ # should be redundant, given the above :-/
+ ASN_DEP = seqset xnetblast
+diff --git a/src/algo/winmask/Makefile.xalgowinmask.lib b/src/algo/winmask/Makefile.xalgowinmask.lib
+index 951e656..8297ec7 100644
+--- a/src/algo/winmask/Makefile.xalgowinmask.lib
++++ b/src/algo/winmask/Makefile.xalgowinmask.lib
+@@ -19,3 +19,4 @@ SRC = seq_masker seq_masker_score_mean seq_masker_score_mean_glob \
+ CXXFLAGS = $(FAST_CXXFLAGS)
+ LDFLAGS = $(FAST_LDFLAGS)
+
++DLL_LIB = seqmasks_io
+diff --git a/src/build-system/configure b/src/build-system/configure
+index a088db7..d858c86 100755
+--- a/src/build-system/configure
++++ b/src/build-system/configure
+@@ -5054,10 +5054,10 @@ if test -z "$DEF_FAST_FLAGS" -o -z "$FAST_CXXFLAGS" ; then
+ DEF_FAST_FLAGS="-O2"
+ ;;
+ GCC:* )
+- DEF_FAST_FLAGS="-O9 -finline-functions -ffast-math -fstrict-aliasing"
++ DEF_FAST_FLAGS=""
+ if test "$with_profiling" != "yes"; then
+ # incompatible with -pg
+- DEF_FAST_FLAGS="$DEF_FAST_FLAGS -fomit-frame-pointer"
++ DEF_FAST_FLAGS="$DEF_FAST_FLAGS"
+ fi
+ ;;
+ WorkShop5[89]* | WorkShop510 )
+diff --git a/src/build-system/configure.ac b/src/build-system/configure.ac
+index 7810bc3..5ad6d38 100644
+--- a/src/build-system/configure.ac
++++ b/src/build-system/configure.ac
+@@ -1276,10 +1276,10 @@ if test -z "$DEF_FAST_FLAGS" -o -z "$FAST_CXXFLAGS" ; then
+ DEF_FAST_FLAGS="-O2"
+ ;;
+ GCC:* )
+- DEF_FAST_FLAGS="-O9 -finline-functions -ffast-math -fstrict-aliasing"
++ DEF_FAST_FLAGS=""
+ if test "$with_profiling" != "yes"; then
+ # incompatible with -pg
+- DEF_FAST_FLAGS="$DEF_FAST_FLAGS -fomit-frame-pointer"
++ DEF_FAST_FLAGS="$DEF_FAST_FLAGS"
+ fi
+ ;;
+ WorkShop5[[89]]* | WorkShop510 )
+diff --git a/src/cgi/Makefile.cgi.lib b/src/cgi/Makefile.cgi.lib
+index a990390..81f4e7e 100644
+--- a/src/cgi/Makefile.cgi.lib
++++ b/src/cgi/Makefile.cgi.lib
+@@ -10,4 +10,6 @@ LIB = xcgi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(FASTCGI_INCLUDE)
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = vakatov
+diff --git a/src/cgi/Makefile.fcgi.lib b/src/cgi/Makefile.fcgi.lib
+index 2569b41..42b4196 100644
+--- a/src/cgi/Makefile.fcgi.lib
++++ b/src/cgi/Makefile.fcgi.lib
+@@ -11,4 +11,6 @@ LIB = xfcgi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(FASTCGI_INCLUDE) -DNCBI_XFCGI_EXPORTS
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = vakatov
+diff --git a/src/connect/Makefile.connssl.lib b/src/connect/Makefile.connssl.lib
+index b400ca2..c252172 100644
+--- a/src/connect/Makefile.connssl.lib
++++ b/src/connect/Makefile.connssl.lib
+@@ -4,6 +4,8 @@ SRC = ncbi_gnutls
+
+ LIB = connssl
+
++DLL_LIB = connect
++
+ CPPFLAGS = $(GNUTLS_INCLUDE) $(ORIG_CPPFLAGS)
+ LIBS = $(GNUTLS_LIBS) $(ORIG_LIBS)
+
+diff --git a/src/connect/Makefile.xconnect.lib b/src/connect/Makefile.xconnect.lib
+index 473bb0b..2550dda 100644
+--- a/src/connect/Makefile.xconnect.lib
++++ b/src/connect/Makefile.xconnect.lib
+@@ -11,6 +11,8 @@ include $(srcdir)/Makefile.xxconnect.lib
+ SRC = $(SRC_C) $(SRC_CXX)
+ UNIX_SRC = $(LOCAL_LBSM)
+
++DLL_LIB = xncbi xutil
++
+ LIB = xconnect
+ PROJ_TAG = core
+
+diff --git a/src/connect/Makefile.xthrserv.lib b/src/connect/Makefile.xthrserv.lib
+index 23a845b..9d90fd0 100644
+--- a/src/connect/Makefile.xthrserv.lib
++++ b/src/connect/Makefile.xthrserv.lib
+@@ -4,6 +4,7 @@ SRC = threaded_server server server_monitor connection_pool
+ LIB = xthrserv
+ PROJ_TAG = core
+ LIBS = $(NETWORK_LIBS)
+-DLL_LIB = xutil xconnect
++
++DLL_LIB = xncbi xutil xconnect
+
+ WATCHERS = lavr
+diff --git a/src/connect/Makefile.xxconnect.lib b/src/connect/Makefile.xxconnect.lib
+index 382f0b9..c31ace3 100644
+--- a/src/connect/Makefile.xxconnect.lib
++++ b/src/connect/Makefile.xxconnect.lib
+@@ -13,6 +13,7 @@ SRC = $(SRC_CXX)
+ LIB = xxconnect
+ PROJ_TAG = core
+
++DLL_LIB = xncbi xutil connect
+ LIBS = $(NETWORK_LIBS) $(ORIG_LIBS)
+
+ WATCHERS = lavr
+diff --git a/src/connect/services/Makefile.ncbi_xcache_netcache.lib b/src/connect/services/Makefile.ncbi_xcache_netcache.lib
+index 606f4f1..2911eff 100644
+--- a/src/connect/services/Makefile.ncbi_xcache_netcache.lib
++++ b/src/connect/services/Makefile.ncbi_xcache_netcache.lib
+@@ -6,7 +6,8 @@ SRC = neticache_client
+ LIB = ncbi_xcache_netcache
+
+ LIB_OR_DLL = both
+-DLL_LIB = xconnserv xconnect xutil
++
++DLL_LIB = xconnserv xconnect xutil xncbi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS)
+ LIBS = $(ORIG_LIBS)
+diff --git a/src/connect/services/Makefile.xconnserv.lib b/src/connect/services/Makefile.xconnserv.lib
+index 8124a0d..de45848 100644
+--- a/src/connect/services/Makefile.xconnserv.lib
++++ b/src/connect/services/Makefile.xconnserv.lib
+@@ -16,6 +16,6 @@ LIB = xconnserv
+ PROJ_TAG = core
+ LIBS = $(NETWORK_LIBS)
+
+-DLL_LIB = xthrserv xconnect xutil
++DLL_LIB = xthrserv xconnect xutil xncbi
+
+ WATCHERS = kazimird
+diff --git a/src/connect/test/Makefile.conntest.lib b/src/connect/test/Makefile.conntest.lib
+index 08f7bb9..9389e09 100644
+--- a/src/connect/test/Makefile.conntest.lib
++++ b/src/connect/test/Makefile.conntest.lib
+@@ -3,4 +3,6 @@
+ SRC = ncbi_conntest
+ LIB = xconntest
+
++DLL_LIB = xncbi xutil connect
++
+ WATCHERS = lar
+diff --git a/src/corelib/Makefile.test_boost.lib b/src/corelib/Makefile.test_boost.lib
+index b19bc5b..036951a 100644
+--- a/src/corelib/Makefile.test_boost.lib
++++ b/src/corelib/Makefile.test_boost.lib
+@@ -3,6 +3,8 @@
+ SRC = test_boost
+ LIB = test_boost
+
++DLL_LIB = xncbi
++
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BOOST_INCLUDE)
+
+ REQUIRES = Boost.Test.Included
+diff --git a/src/corelib/Makefile.test_mt.lib b/src/corelib/Makefile.test_mt.lib
+index 90c10d2..d99347b 100644
+--- a/src/corelib/Makefile.test_mt.lib
++++ b/src/corelib/Makefile.test_mt.lib
+@@ -3,6 +3,8 @@
+ SRC = test_mt
+ LIB = test_mt
+
++DLL_LIB = xncbi
++
+ # REQUIRES = MT
+
+ WATCHERS = grichenk
+diff --git a/src/corelib/test/Makefile.pbacktest.lib b/src/corelib/test/Makefile.pbacktest.lib
+index da0c616..e9aeba7 100644
+--- a/src/corelib/test/Makefile.pbacktest.lib
++++ b/src/corelib/test/Makefile.pbacktest.lib
+@@ -3,4 +3,6 @@
+ SRC = pbacktest
+ LIB = xpbacktest
+
++DLL_LIB = xncbi
++
+ WATCHERS = lavr
+diff --git a/src/db/bdb/Makefile.bdb.lib b/src/db/bdb/Makefile.bdb.lib
+index 3729707..45874cf 100644
+--- a/src/db/bdb/Makefile.bdb.lib
++++ b/src/db/bdb/Makefile.bdb.lib
+@@ -13,4 +13,7 @@ LIB = bdb
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BERKELEYDB_INCLUDE)
+
++DLL_LIB = xncbi xutil
++LIBS = $(BERKELEYDB_LIBS)
++
+ WATCHERS = kuznets
+diff --git a/src/db/bdb/Makefile.ncbi_xcache_bdb.lib b/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
+index 7e97a26..8f54efc 100644
+--- a/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
++++ b/src/db/bdb/Makefile.ncbi_xcache_bdb.lib
+@@ -8,7 +8,7 @@ SRC = bdb_blobcache
+ LIB = ncbi_xcache_bdb
+
+ LIB_OR_DLL = both
+-DLL_LIB = bdb xutil
++DLL_LIB = bdb xutil xncbi
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(BERKELEYDB_INCLUDE)
+ LIBS = $(BERKELEYDB_LIBS) $(ORIG_LIBS)
+diff --git a/src/db/sqlite/Makefile.sqlitewrapp.lib b/src/db/sqlite/Makefile.sqlitewrapp.lib
+index cecfd16..5d72f9c 100644
+--- a/src/db/sqlite/Makefile.sqlitewrapp.lib
++++ b/src/db/sqlite/Makefile.sqlitewrapp.lib
+@@ -7,4 +7,7 @@ CPPFLAGS= $(ORIG_CPPFLAGS) $(SQLITE3_INCLUDE)
+
+ REQUIRES = SQLITE3
+
++DLL_LIB = xncbi xutil
++LIBS = $(SQLITE3_LIBS)
++
+ WATCHERS = ivanovp
+diff --git a/src/dbapi/Makefile.dbapi.lib b/src/dbapi/Makefile.dbapi.lib
+index 6e3ad4c..d1b5425 100644
+--- a/src/dbapi/Makefile.dbapi.lib
++++ b/src/dbapi/Makefile.dbapi.lib
+@@ -5,7 +5,10 @@ SRC = variant active_obj dbapi driver_mgr err_handler ds_impl conn_impl \
+ bytestreambuf blobstream \
+ cursor_impl bulkinsert rw_impl
+
++#ASN_DEP = dbapi_driver
+ LIB = dbapi
++DLL_LIB = xncbi xutil
++LIBS = $(PYTHON_LIBS)
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(SYBASE_INCLUDE)
+
+diff --git a/src/dbapi/driver/Makefile.dbapi_driver.lib b/src/dbapi/driver/Makefile.dbapi_driver.lib
+index dfeac5a..8128559 100644
+--- a/src/dbapi/driver/Makefile.dbapi_driver.lib
++++ b/src/dbapi/driver/Makefile.dbapi_driver.lib
+@@ -15,6 +15,7 @@ LIB_OR_DLL = both
+
+ CPPFLAGS = $(ORIG_CPPFLAGS)
+
++DLL_LIB = xncbi xutil
+ LIBS = $(DL_LIBS) $(ORIG_LIBS)
+
+ # Work around a mysterious bug in Apple's GCC.
+diff --git a/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib b/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
+index 941ccd6..ef0226f 100644
+--- a/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
++++ b/src/dbapi/driver/samples/Makefile.dbapi_sample_base.lib
+@@ -5,4 +5,6 @@ LIB = dbapi_sample_base
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(SYBASE_INCLUDE)
+
++DLL_LIB = xncbi xutil dbapi_driver
++
+ WATCHERS = ivanovp
+diff --git a/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib b/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
+index ebe08c4..86ecda6 100644
+--- a/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
++++ b/src/dbapi/lang_bind/python/Makefile.python_ncbi_dbapi.lib
+@@ -11,7 +11,7 @@ LIB_OR_DLL = dll
+
+ # Dependencies for shared library
+ DLL_LIB = dbapi dbapi_driver$(DLL) $(XCONNEXT) xconnect xutil xncbi
+-LIBS = $(RUNPATH_ORIGIN)/python_ncbi_dbapi/$(NCBI_PACKAGE_VERSION) $(ORIG_LIBS)
++LIBS = $(RUNPATH_ORIGIN)/python_ncbi_dbapi/$(NCBI_PACKAGE_VERSION) $(ORIG_LIBS) $(PYTHON_LIBS)
+ # Drop other flags to build with full dependencies under ICC.
+ DLL_LDFLAGS = $(DLL_UNDEF_FLAGS)
+
+diff --git a/src/dbapi/simple/Makefile.sdbapi.lib b/src/dbapi/simple/Makefile.sdbapi.lib
+index 603fd1e..72d3a5c 100644
+--- a/src/dbapi/simple/Makefile.sdbapi.lib
++++ b/src/dbapi/simple/Makefile.sdbapi.lib
+@@ -3,5 +3,7 @@
+ SRC = sdbapi
+ LIB = sdbapi
+
++DLL_LIB = xncbi xutil dbapi_driver ncbi_xdbapi_ftds xconnect xser bdb xconnserv
++
+ WATCHERS = ivanovp
+
+diff --git a/src/html/Makefile.html.lib b/src/html/Makefile.html.lib
+index a57c1e3..dd520a0 100644
+--- a/src/html/Makefile.html.lib
++++ b/src/html/Makefile.html.lib
+@@ -7,4 +7,5 @@ SRC = node html htmlhelper page pager selection components \
+ jsmenu commentdiag indentstream html_exception writer_htmlenc
+ LIB = xhtml
+
++DLL_LIB = xncbi xutil
+ WATCHERS = ivanov
+diff --git a/src/objects/biblio/Makefile.biblio.lib b/src/objects/biblio/Makefile.biblio.lib
+index 275c307..6b5a85b 100644
+--- a/src/objects/biblio/Makefile.biblio.lib
++++ b/src/objects/biblio/Makefile.biblio.lib
+@@ -1,2 +1,4 @@
+ LIB = biblio
+ SRC = biblio__ biblio___ label_util
++
++DLL_LIB = general xser xncbi xutil
+diff --git a/src/objects/blast/Makefile.blast.lib b/src/objects/blast/Makefile.blast.lib
+index b9d7d38..e736a95 100644
+--- a/src/objects/blast/Makefile.blast.lib
++++ b/src/objects/blast/Makefile.blast.lib
+@@ -1,2 +1,4 @@
+ LIB = xnetblast
+ SRC = blast__ blast___ names
++
++DLL_LIB = xncbi xutil
+diff --git a/src/objects/blast/Makefile.xnetblastcli.lib b/src/objects/blast/Makefile.xnetblastcli.lib
+index 96325c4..20ee95c 100644
+--- a/src/objects/blast/Makefile.xnetblastcli.lib
++++ b/src/objects/blast/Makefile.xnetblastcli.lib
+@@ -2,3 +2,5 @@ ASN_DEP = xnetblast
+
+ LIB = xnetblastcli
+ SRC = blastclient blastclient_
++
++DLL_LIB = xncbi xutil seqset connect xconnect
+diff --git a/src/objects/general/Makefile.general.lib b/src/objects/general/Makefile.general.lib
+index 951304f..3be083d 100644
+--- a/src/objects/general/Makefile.general.lib
++++ b/src/objects/general/Makefile.general.lib
+@@ -1,2 +1,4 @@
+ LIB = general
+ SRC = general__ general___ uoconv
++
++DLL_LIB = xser xncbi xutil
+diff --git a/src/objects/medline/Makefile.medline.lib b/src/objects/medline/Makefile.medline.lib
+index ea28066..eb42aa4 100644
+--- a/src/objects/medline/Makefile.medline.lib
++++ b/src/objects/medline/Makefile.medline.lib
+@@ -1,2 +1,4 @@
+ LIB = medline
+ SRC = medline__ medline___
++
++DLL_LIB = general biblio
+diff --git a/src/objects/omssa/Makefile.omssa.lib b/src/objects/omssa/Makefile.omssa.lib
+index b79617f..e1d4a9e 100644
+--- a/src/objects/omssa/Makefile.omssa.lib
++++ b/src/objects/omssa/Makefile.omssa.lib
+@@ -2,3 +2,5 @@ APP_DEP = seq
+
+ LIB = omssa
+ SRC = omssa__ omssa___
++
++DLL_LIB = seq
+diff --git a/src/objects/pub/Makefile.pub.lib b/src/objects/pub/Makefile.pub.lib
+index 78c12e1..9baa08d 100644
+--- a/src/objects/pub/Makefile.pub.lib
++++ b/src/objects/pub/Makefile.pub.lib
+@@ -1,2 +1,4 @@
+ LIB = pub
+ SRC = pub__ pub___
++
++DLL_LIB = medline biblio
+diff --git a/src/objects/scoremat/Makefile.scoremat.lib b/src/objects/scoremat/Makefile.scoremat.lib
+index 62e01f5..6260041 100644
+--- a/src/objects/scoremat/Makefile.scoremat.lib
++++ b/src/objects/scoremat/Makefile.scoremat.lib
+@@ -1,2 +1,4 @@
+ LIB = scoremat
+ SRC = scoremat__ scoremat___
++
++DLL_LIB = seqset
+diff --git a/src/objects/seq/Makefile.seq.lib b/src/objects/seq/Makefile.seq.lib
+index 5ca2820..3671ee1 100644
+--- a/src/objects/seq/Makefile.seq.lib
++++ b/src/objects/seq/Makefile.seq.lib
+@@ -10,3 +10,5 @@ LIB = seq
+ SRC = $(ASN:%=%__) $(ASN:%=%___) seqport_util \
+ seq_id_tree seq_id_handle seq_id_mapper \
+ seq_loc_mapper_base seq_align_mapper_base seqlocinfo
++
++DLL_LIB = general seqcode pub sequtil biblio xser xncbi xutil
+diff --git a/src/objtools/align_format/Makefile.align_format.lib b/src/objtools/align_format/Makefile.align_format.lib
+index fe0c16d..c4535ea 100644
+--- a/src/objtools/align_format/Makefile.align_format.lib
++++ b/src/objtools/align_format/Makefile.align_format.lib
+@@ -16,3 +16,5 @@ CPPFLAGS = $(ORIG_CPPFLAGS)
+ # CXXFLAGS = $(FAST_CXXFLAGS)
+ #
+ # LIB_OR_DLL = dll
++
++DLL_LIB = seqdb blastdb
+diff --git a/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib b/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
+index 11c7fae..855e0fb 100644
+--- a/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
++++ b/src/objtools/blast/seqdb_reader/Makefile.seqdb.lib
+@@ -28,3 +28,4 @@ CFLAGS = $(FAST_CFLAGS)
+ CXXFLAGS = $(FAST_CXXFLAGS)
+ LDFLAGS = $(FAST_LDFLAGS)
+
++DLL_LIB = blastdb
+diff --git a/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib b/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
+index 22dc6df..868da0f 100644
+--- a/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
++++ b/src/objtools/data_loaders/blastdb/Makefile.ncbi_xloader_blastdb.lib
+@@ -5,3 +5,4 @@ SRC = bdbloader cached_sequence local_blastdb_adapter
+
+ ASN_DEP = blastdb seqset
+
++DLL_LIB = seqdb
+diff --git a/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib b/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
+index b938560..07bddd8 100644
+--- a/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
++++ b/src/objtools/data_loaders/genbank/Makefile.ncbi_xreader.lib
+@@ -12,4 +12,4 @@ LIB = ncbi_xreader
+ LIB_OR_DLL = both
+
+ # Dependencies for shared library
+-DLL_LIB =
++DLL_LIB = xcompress
+diff --git a/src/objtools/readers/Makefile.xobjread.lib b/src/objtools/readers/Makefile.xobjread.lib
+index c5c4789..58b304a 100644
+--- a/src/objtools/readers/Makefile.xobjread.lib
++++ b/src/objtools/readers/Makefile.xobjread.lib
+@@ -8,5 +8,4 @@ SRC = acc_pattern agp_read agp_util aln_reader bed_reader cigar fasta \
+ multireader phrap reader_base readfeat rm_reader wiggle_data \
+ wiggle_reader
+
+-DLL_LIB = creaders
+-
++DLL_LIB = creaders xncbi seq biblio seqset
+diff --git a/src/objtools/readers/Makefile.xobjreadex.lib b/src/objtools/readers/Makefile.xobjreadex.lib
+index 8152069..62c1e64 100644
+--- a/src/objtools/readers/Makefile.xobjreadex.lib
++++ b/src/objtools/readers/Makefile.xobjreadex.lib
+@@ -5,3 +5,5 @@ ASN_DEP = seq seqset
+ LIB = xobjreadex
+ SRC = glimmer_reader idmapper idmapper_builtin idmapper_config \
+ idmapper_database
++
++DLL_LIB = xncbi xutil seq
+diff --git a/src/serial/Makefile.serial.lib b/src/serial/Makefile.serial.lib
+index 2563b5f..d2e23b9 100644
+--- a/src/serial/Makefile.serial.lib
++++ b/src/serial/Makefile.serial.lib
+@@ -18,4 +18,6 @@ SRC = \
+
+ LIB = xser
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = gouriano
+diff --git a/src/serial/soap/Makefile.soap.lib b/src/serial/soap/Makefile.soap.lib
+index e77d4ee..936798a 100644
+--- a/src/serial/soap/Makefile.soap.lib
++++ b/src/serial/soap/Makefile.soap.lib
+@@ -7,4 +7,6 @@ SRC = soap_message soap_readhook soap_writehook soap_client \
+ soap_11__ soap_11___
+ LIB = xsoap
+
++DLL_LIB = xncbi xutil xser xconnect
++
+ WATCHERS = gouriano
+diff --git a/src/serial/soap/Makefile.soap_server.lib b/src/serial/soap/Makefile.soap_server.lib
+index c961496..4892f55 100644
+--- a/src/serial/soap/Makefile.soap_server.lib
++++ b/src/serial/soap/Makefile.soap_server.lib
+@@ -8,4 +8,6 @@ LIB = xsoap_server
+
+ REQUIRES = cgi
+
++DLL_LIB = xncbi xutil xcgi xsoap xser
++
+ WATCHERS = gouriano
+diff --git a/src/serial/test/Makefile.we_cpp.lib b/src/serial/test/Makefile.we_cpp.lib
+index 9877691..1c7250b 100644
+--- a/src/serial/test/Makefile.we_cpp.lib
++++ b/src/serial/test/Makefile.we_cpp.lib
+@@ -1,5 +1,7 @@
+ LIB = we_cpp
+ SRC = we_cpp__ we_cpp___
+
++DLL_LIB = xncbi xutil xser
++
+ WATCHERS = gouriano
+
+diff --git a/src/util/Makefile.util.lib b/src/util/Makefile.util.lib
+index f103ff1..98d2cd0 100644
+--- a/src/util/Makefile.util.lib
++++ b/src/util/Makefile.util.lib
+@@ -11,6 +11,8 @@ SRC = random_gen utf8 checksum bytesrc strbuffer itree smalldns \
+ LIB = xutil
+ PROJ_TAG = core
+
++DLL_LIB = xncbi
++
+ LIBS = $(ORIG_LIBS)
+
+ WATCHERS = vakatov
+diff --git a/src/util/compress/api/Makefile.compress.lib b/src/util/compress/api/Makefile.compress.lib
+index f27e8fb..18b0634 100644
+--- a/src/util/compress/api/Makefile.compress.lib
++++ b/src/util/compress/api/Makefile.compress.lib
+@@ -6,7 +6,7 @@ LIB = xcompress
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(CMPRS_INCLUDE)
+
+-DLL_LIB = $(BZ2_LIB) $(Z_LIB) $(LZO_LIB)
++DLL_LIB = $(BZ2_LIB) $(Z_LIB) $(LZO_LIB) xutil xncbi
+ LIBS = $(BZ2_LIBS) $(Z_LIBS) $(LZO_LIBS)
+
+ WATCHERS = ivanov
+diff --git a/src/util/qparse/Makefile.xqueryparse.lib b/src/util/qparse/Makefile.xqueryparse.lib
+index a003930..0f59ec0 100644
+--- a/src/util/qparse/Makefile.xqueryparse.lib
++++ b/src/util/qparse/Makefile.xqueryparse.lib
+@@ -6,4 +6,6 @@ SRC = query_parse parser query_tree_print query_exec
+ query_parser_bison.tab.c : query_parser_bison.y
+ bison -v -p ncbi_q_ -o query_parser_bison.tab.c query_parser_bison.y
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = kuznets
+diff --git a/src/util/regexp/Makefile.regexp.lib b/src/util/regexp/Makefile.regexp.lib
+index 0f8d5e8..04d87d9 100644
+--- a/src/util/regexp/Makefile.regexp.lib
++++ b/src/util/regexp/Makefile.regexp.lib
+@@ -7,6 +7,8 @@ SRC = pcre_chartables pcre_compile pcre_config pcre_dfa_exec pcre_exec pcre_full
+
+ LIB = regexp
+
++DLL_LIB = xncbi xutil
++
+ CPPFLAGS = -I$(includedir)/util/regexp -DHAVE_CONFIG_H $(ORIG_CPPFLAGS)
+
+ WATCHERS = ivanov
+diff --git a/src/util/sequtil/Makefile.sequtil.lib b/src/util/sequtil/Makefile.sequtil.lib
+index c068a32..5c89253 100644
+--- a/src/util/sequtil/Makefile.sequtil.lib
++++ b/src/util/sequtil/Makefile.sequtil.lib
+@@ -3,4 +3,6 @@
+ LIB = sequtil
+ SRC = sequtil sequtil_convert sequtil_convert_imp sequtil_manip sequtil_tables sequtil_shared
+
++DLL_LIB = xncbi xutil
++
+ WATCHERS = shomrat
+diff --git a/src/util/xregexp/Makefile.xregexp.lib b/src/util/xregexp/Makefile.xregexp.lib
+index 965fac4..3accea3 100644
+--- a/src/util/xregexp/Makefile.xregexp.lib
++++ b/src/util/xregexp/Makefile.xregexp.lib
+@@ -6,7 +6,7 @@ LIB = xregexp
+
+ CPPFLAGS = $(ORIG_CPPFLAGS) $(PCRE_INCLUDE)
+
+-DLL_LIB = $(PCRE_LIB)
++DLL_LIB = $(PCRE_LIB) xutil xncbi
+ LIBS = $(PCRE_LIBS)
+
+ WATCHERS = ivanov
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild
deleted file mode 100644
index 2c7245bfa155..000000000000
--- a/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild,v 1.2 2011/03/21 18:36:29 ssuominen Exp $
-
-EAPI="3"
-
-inherit eutils flag-o-matic multilib toolchain-funcs
-
-MY_TAG="May_15_2009"
-MY_Y="${MY_TAG/*_/}"
-MY_P="ncbi_cxx--${MY_TAG}"
-
-DESCRIPTION="NCBI C++ Toolkit, including NCBI BLAST+"
-HOMEPAGE="http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=toolkit"
-SRC_URI="ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/${MY_Y}/${MY_TAG}/${MY_P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-#IUSE="X unicode opengl gnutls test"
-IUSE="sqlite"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-# wxGTK: must run eselect wxwindows after installing wxgtk or build will fail. Check and abort here.
-# dev-libs/xalan-c - problems detecting, api mismatch?
-
-# apparently gbench-only dependencies
-# dev-libs/libxml2
-# dev-libs/libxslt
-# dev-libs/xerces-c
-# dev-libs/lzo:2
-# dev-libs/boost
-# app-text/sablotron
-# media-libs/libpng
-# media-libs/tiff
-# media-libs/jpeg
-# x11-libs/libXpm
-# unicode? ( dev-libs/icu )
-# opengl? ( media-libs/glut
-# media-libs/mesa )
-# gnutls? ( net-libs/gnutls )
-# X? ( x11-libs/fltk:1
-# x11-libs/wxGTK )
-
-DEPEND="sqlite? ( dev-db/sqlite:3 )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc44.patch \
- "${FILESDIR}"/${P}-asneeded.patch
- sed -i -e 's/-print-file-name=libstdc++.a//' \
- -e '/sed/ s/\([gO]\[0-9\]\)\*/\1\\+/' \
- src/build-system/configure || die
-}
-
-src_configure() {
- # required with gcc-4.4 and code turned on by --with-mt
- append-cxxflags -fpermissive
-
- tc-export CXX CC
-
- # econf fails
- # --with-bin-release and --without-ftds are workarounds for build system bugs
- # --without-boost: see bug 312921
- # NB: build system supports ICC
- "${S}"/configure --without-debug \
- --with-bin-release \
- --without-static \
- --with-dll \
- --without-ftds \
- --without-boost \
- --prefix="${ED}"/usr \
- --libdir="${ED}"/usr/$(get_libdir)/${PN} \
- --with-z="${EPREFIX}/usr" \
- --with-bz2="${EPREFIX}/usr" \
- --with-pcre="${EPREFIX}/usr" \
- --with-openssl="${EPREFIX}/usr" \
- --with-mt \
- || die
-
-# apparently gbench-only configs
-# --with-boost="/usr" \
-# --with-sablot="/usr" \
-# --with-icu="/usr" \
-# --with-fltk="/usr" \
-# --with-mesa="/usr" \
-# --with-glut="/usr" \
-# --with-wxwidgets="/usr" \
-# problems detecting this
-# --with-xalan="/usr" \
-}
-
-src_compile() {
- emake all_r -C GCC*-Release*/build || die
-}
-
-src_install() {
- emake install || die
- # File collisions with sci-biology/ncbi-tools
- rm -f "${ED}"/usr/bin/{asn2asn,rpsblast,test_regexp}
-
- echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}" > ${S}/99${PN}
- doenvd "${S}/99${PN}"
-}
-
-pkg_postinst() {
- einfo 'Please run "source /etc/profile" before using this package in the current shell.'
-}
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15-r1.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15-r1.ebuild
new file mode 100644
index 000000000000..3968e582aea9
--- /dev/null
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15-r1.ebuild,v 1.1 2011/05/04 19:06:17 jlec Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+MY_TAG="Jun_15_2010"
+MY_Y="${MY_TAG/*_/}"
+MY_P="ncbi_cxx--${MY_TAG}"
+
+DESCRIPTION="NCBI C++ Toolkit, including NCBI BLAST+"
+HOMEPAGE="http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=toolkit"
+SRC_URI="ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/${MY_Y}/${MY_TAG}/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+IUSE="sqlite mysql"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ sqlite? ( dev-db/sqlite:3 )
+ mysql? ( virtual/mysql )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+# filter-ldflags -Wl,--as-needed
+# append-ldflags -Wl,--no-undefined
+ sed -i -e 's/-print-file-name=libstdc++.a//' \
+ -e '/sed/ s/\([gO]\[0-9\]\)\*/\1\\+/' \
+ src/build-system/configure || die
+ epatch \
+ "${FILESDIR}"/${P}-gcc46.patch \
+ "${FILESDIR}"/${P}-asneeded.patch
+}
+
+src_configure() {
+ tc-export CXX CC
+# conf check for sqlite and mysql
+ "${S}"/configure --without-debug \
+ --with-bin-release \
+ --with-bincopy \
+ --without-static \
+ --with-dll \
+ --with-mt \
+ --prefix="${ED}"/usr \
+ --libdir="${ED}"/usr/$(get_libdir)/${PN} \
+ || die
+}
+
+src_compile() {
+ emake all_r -C GCC*-Release*/build || die
+}
+
+src_install() {
+ emake install || die
+ # File collisions with sci-biology/ncbi-tools
+ rm -f "${ED}"/usr/bin/{asn2asn,rpsblast,test_regexp}
+
+ echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}" > ${S}/99${PN}
+ doenvd "${S}/99${PN}"
+}
+
+pkg_postinst() {
+ einfo 'Please run "source /etc/profile" before using this package in the current shell.'
+}
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15.ebuild
index fd76f8b88266..a5b6690cd46b 100644
--- a/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15.ebuild
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15.ebuild,v 1.2 2011/05/02 09:43:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2010.06.15.ebuild,v 1.3 2011/05/04 19:06:17 jlec Exp $
EAPI="3"
@@ -19,7 +19,8 @@ SLOT="0"
IUSE="sqlite mysql"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-DEPEND="sqlite? ( dev-db/sqlite:3 )
+DEPEND="
+ sqlite? ( dev-db/sqlite:3 )
mysql? ( virtual/mysql )"
RDEPEND="${DEPEND}"