diff options
author | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2013-09-14 00:06:41 +0200 |
---|---|---|
committer | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2013-09-14 00:06:41 +0200 |
commit | db3890c80a85542d3c14254c20a03bf72a2caae0 (patch) | |
tree | 1e905ee85b5b1ccfb695a22e19004243295387ff /sci-biology/ncbi-tools++ | |
parent | add ncbi-tools++-9.0.0-fix-undef-reference-to-GenBankReaders_Register_Id1.pat... (diff) | |
download | sci-db3890c80a85542d3c14254c20a03bf72a2caae0.tar.gz sci-db3890c80a85542d3c14254c20a03bf72a2caae0.tar.bz2 sci-db3890c80a85542d3c14254c20a03bf72a2caae0.zip |
more 12.0.0 cleanup, still not working
Diffstat (limited to 'sci-biology/ncbi-tools++')
5 files changed, 50 insertions, 7 deletions
diff --git a/sci-biology/ncbi-tools++/ChangeLog b/sci-biology/ncbi-tools++/ChangeLog index b73708196..b4a234b98 100644 --- a/sci-biology/ncbi-tools++/ChangeLog +++ b/sci-biology/ncbi-tools++/ChangeLog @@ -3,6 +3,26 @@ # $Header: $ 13 Sep 2013; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> + ncbi-tools++-12.0.0.ebuild, + files/ncbi-tools++-9.0.0-fix-creaders-linking.patch, + +files/ncbi-tools++-12.0.0-fix-FreeTDS-upstream.patch, + files/ncbi-tools++-12.0.0-fix-creaders-linking.patch: + Added an upstream patch from: + + Date: Wed, 28 Aug 2013 10:50:29 -0400 + List cpp <cpp@ncbi.nlm.nih.gov> + Subject: Re: [C++] error building ncbi toolkit v.12.0.0 + + Fixed line offsets in the ncbi-tools++-12.0.0-fix-creaders-linking.patch + file. + + Fixed file path in ncbi-tools++-9.0.0-fix-creaders-linking.patch header. + + The patches copied blindly from ncbi-tools++-9.0.0-r1 under 12.0.0 need to be + adjusted still to have correct line numbers. They do NOT apply cleanly at the + moment. + + 13 Sep 2013; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> ncbi-tools++-9.0.0-r1.ebuild, ncbi-tools++-12.0.0.ebuild, files/ncbi-tools++-9.0.0-as-needed.patch, +files/ncbi-tools++-9.0.0-fix-undef-reference-to-GenBankReaders_Register_Id1. diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-fix-FreeTDS-upstream.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-fix-FreeTDS-upstream.patch new file mode 100644 index 000000000..fede70e51 --- /dev/null +++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-fix-FreeTDS-upstream.patch @@ -0,0 +1,19 @@ +--- src/app/agpconvert/Makefile.agpconvert.app.ori 2013-09-13 23:56:22.660032261 +0200 ++++ src/app/agpconvert/Makefile.agpconvert.app 2013-09-13 23:57:31.340032441 +0200 +@@ -6,13 +6,12 @@ + APP = agpconvert + SRC = agpconvert + +-LIB = xalgoseq xobjedit $(OBJREAD_LIBS) taxon1 xalnmgr xobjutil submit \ +- ncbi_xdbapi_ftds $(FTDS_LIB) tables xregexp $(PCRE_LIB) $(OBJMGR_LIBS) +-LIBS = $(FTDS_LIBS) $(CMPRS_LIBS) $(PCRE_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) ++LIB = $(OBJREAD_LIBS) taxon1 xregexp $(PCRE_LIB) $(OBJMGR_LIBS) ++LIBS = $(CMPRS_LIBS) $(PCRE_LIBS) $(NETWORK_LIBS) $(DL_LIBS) $(ORIG_LIBS) + + CXXFLAGS = $(FAST_CXXFLAGS) + LDFLAGS = $(FAST_LDFLAGS) + +-REQUIRES = objects algo ++REQUIRES = objects + + WATCHERS = xiangcha diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-fix-creaders-linking.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-fix-creaders-linking.patch index 1380764f1..46c2e83fb 100644 --- a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-fix-creaders-linking.patch +++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-fix-creaders-linking.patch @@ -1,10 +1,11 @@ ---- ncbi_cxx--9_0_0/src/objtools/alnmgr/demo/Makefile.alnmrg.app (revision 413271) -+++ ncbi_cxx--9_0_0/src/objtools/alnmgr/demo/Makefile.alnmrg.app (working copy) -@@ -4,7 +4,7 @@ - APP = alnmrg +--- src/objtools/alnmgr/demo/Makefile.alnmrg.app.ori 2013-09-13 23:51:34.340031508 +0200 ++++ src/objtools/alnmgr/demo/Makefile.alnmrg.app 2013-09-13 23:51:36.660031514 +0200 +@@ -5,7 +5,7 @@ SRC = alnmrg - LIB = xalnmgr xobjread ncbi_xloader_blastdb seqdb xobjutil submit blastdb \ + + LIB = xalnmgr $(OBJREAD_LIBS) ncbi_xloader_blastdb seqdb xobjutil submit blastdb \ - tables $(OBJMGR_LIBS) + tables creaders $(OBJMGR_LIBS) LIBS = $(CMPRS_LIBS) $(DL_LIBS) $(NETWORK_LIBS) $(ORIG_LIBS) + diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-fix-creaders-linking.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-fix-creaders-linking.patch index 1380764f1..b3b57975e 100644 --- a/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-fix-creaders-linking.patch +++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-9.0.0-fix-creaders-linking.patch @@ -1,5 +1,5 @@ ---- ncbi_cxx--9_0_0/src/objtools/alnmgr/demo/Makefile.alnmrg.app (revision 413271) -+++ ncbi_cxx--9_0_0/src/objtools/alnmgr/demo/Makefile.alnmrg.app (working copy) +--- src/objtools/alnmgr/demo/Makefile.alnmrg.app (revision 413271) ++++ src/objtools/alnmgr/demo/Makefile.alnmrg.app (working copy) @@ -4,7 +4,7 @@ APP = alnmrg SRC = alnmrg diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild index 0549445e7..7415d8ff1 100644 --- a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild +++ b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild @@ -102,10 +102,13 @@ src_prepare() { # use prefix && append-ldflags -Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/${PN}" + +# The conf-opts.patch and as-needed.patch need to be adjusted for 12.0.0 line numbers local PATCHES=( "${FILESDIR}"/${P}-conf-opts.patch "${FILESDIR}"/${P}-as-needed.patch "${FILESDIR}"/${P}-fix-creaders-linking.patch + "${FILESDIR}"/${P}-fix-FreeTDS-upstream.patch ) epatch ${PATCHES[@]} |