From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/sra_sdk/
Date: Mon, 6 Feb 2012 18:56:05 +0000 (UTC) [thread overview]
Message-ID: <644e4b2c3b32a18745448407c5c705a53ee09d9f.mmokrejs@gentoo> (raw)
commit: 644e4b2c3b32a18745448407c5c705a53ee09d9f
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Mon Feb 6 18:55:58 2012 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon Feb 6 18:55:58 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=644e4b2c
sci-biology-sra_sdk-2.1.9: preserve libs written directly into at the end of src_compile() and install them later on
(Portage version: 2.1.10.45/git/Linux x86_64, unsigned Manifest commit)
---
sci-biology/sra_sdk/ChangeLog | 5 +++++
sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild | 13 +++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/sci-biology/sra_sdk/ChangeLog b/sci-biology/sra_sdk/ChangeLog
index 9ac722a..78f9fd1 100644
--- a/sci-biology/sra_sdk/ChangeLog
+++ b/sci-biology/sra_sdk/ChangeLog
@@ -3,6 +3,11 @@
# $Header: $
06 Feb 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+ sra_sdk-2.1.9.ebuild:
+ preserve libs written directly into at the end of src_compile() and install
+ them later on sra_sdk-2.1.9.ebuild
+
+ 06 Feb 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
sra_sdk-2.1.9.ebuild, +files/libs_sra_Makefile.patch,
+files/tools_vdb-vcopy_Makefile.patch:
two more Makefiles needed a DESTDIR patch, in conjunction with an ugly
diff --git a/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild b/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild
index fcc74cb..ebccf80 100644
--- a/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild
+++ b/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild
@@ -38,13 +38,17 @@ src_prepare(){
src_compile(){
# COMP env variable may have 'GCC' or 'ICC' values
if use static; then
- emake static LIBDIR=/lib64 DESTDIR="${D}"
+ emake static LIBDIR=/usr/lib64 DESTDIR="${D}"
else
- emake dynamic LIBDIR=/lib64 DESTDIR="${D}"
+ emake dynamic LIBDIR=/usr/lib64 DESTDIR="${D}"
fi
- LIBXML_INCLUDES="/usr/include/libxml2" make -j1 OUTDIR="${WORKDIR}"/objdir out LIBDIR=/lib64 DESTDIR="${D}" || die
- LIBXML_INCLUDES="/usr/include/libxml2" make -j1 OUTDIR="${WORKDIR}"/objdir LIBDIR=/lib64 DESTDIR="${D}" || die
+ LIBXML_INCLUDES="/usr/include/libxml2" make -j1 OUTDIR="${WORKDIR}"/objdir out LIBDIR=/usr/lib64 DESTDIR="${D}" || die
+ LIBXML_INCLUDES="/usr/include/libxml2" make -j1 OUTDIR="${WORKDIR}"/objdir LIBDIR=/usr/lib64 DESTDIR="${D}" || die
+
+ # preserve the libs written directly into $DESTDIR by ar/ld/gcc
+ mkdir -p "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/lib
+ mv "${D}"/usr/lib64/* "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/lib/
}
src_install(){
@@ -59,6 +63,7 @@ src_install(){
dobin "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/bin/*
# for f in ${W}/objdir/linux/rel/gcc/i386/bin/*; do if [ ! -l "$f" ]; then cp "$f" ${D}/usr/bin || die "copy failed" ; fi; done
+ dolib "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/lib/*
dolib "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/ilib/*
dolib "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/mod/*
dolib "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/wmod/*
next reply other threads:[~2012-02-06 18:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 18:56 Martin Mokrejs [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-04 5:42 [gentoo-commits] proj/sci:master commit in: sci-biology/sra_sdk/ Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2015-09-22 8:19 Justin Lecher
2013-03-03 17:52 Justin Lecher
2012-12-28 19:19 Martin Mokrejs
2012-03-15 22:58 Martin Mokrejs
2012-03-15 21:23 Martin Mokrejs
2012-02-28 16:36 Martin Mokrejs
2012-02-28 16:35 Martin Mokrejs
2012-02-06 18:26 Martin Mokrejs
2011-09-22 23:35 Martin Mokrejs
2011-09-22 21:34 Martin Mokrejs
2011-07-30 11:08 Martin Mokrejs
2011-06-10 15:37 Martin Mokrejs
2011-06-10 15:30 Martin Mokrejs
2011-06-10 15:23 Martin Mokrejs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=644e4b2c3b32a18745448407c5c705a53ee09d9f.mmokrejs@gentoo \
--to=mmokrejs@fold.natur.cuni.cz \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox