public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/staden/
Date: Sun,  6 Mar 2011 21:20:10 +0000 (UTC)	[thread overview]
Message-ID: <0d07adffb5c46caf3d42b8bb9a5bcf433e1a98c7.mmokrejs@gentoo> (raw)

commit:     0d07adffb5c46caf3d42b8bb9a5bcf433e1a98c7
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun Mar  6 21:20:03 2011 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun Mar  6 21:20:03 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0d07adff

sci-biology/staden-2.0.0_beta8: provide LDPATH=/usr/lib/staden through /etc/env.d/99staden to /etc/ld.so.conf

(Portage version: 2.1.9.28/git/Linux i686, unsigned Manifest commit)

---
 sci-biology/staden/staden-2.0.0_beta8.ebuild |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/sci-biology/staden/staden-2.0.0_beta8.ebuild b/sci-biology/staden/staden-2.0.0_beta8.ebuild
index a79bfd2..a4e1e47 100644
--- a/sci-biology/staden/staden-2.0.0_beta8.ebuild
+++ b/sci-biology/staden/staden-2.0.0_beta8.ebuild
@@ -65,4 +65,11 @@ src_install() {
 	emake install DESTDIR="${D}" || die "make install failed"
 	#cd "${WORKDIR}"/staden_doc-2.0.0b8-src || die "failed to cd "${WORKDIR}"/staden_doc-2.0.0b8-src"
 	#make install prefix="${D}"/usr || die "failed to install pre-created docs from upstream"
+
+	# install the LDPATH so that it appears in /etc/ld.so.conf after env-update
+	# subsequently, apps linked against /usr/lib/staden can be run because
+	# loader can find the library (I failed to use '-Wl,-rpath,/usr/lib/staden'
+	# somehow for gap2caf, for example
+	echo 'LDPATH=/usr/lib/staden' > 99staden || die
+	doenvd 99staden
 }



             reply	other threads:[~2011-03-06 21:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 21:20 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-21 11:54 [gentoo-commits] proj/sci:master commit in: sci-biology/staden/ Justin Lecher
2011-06-23  9:31 Justin Lecher
2011-06-23  9:31 Justin Lecher
2011-07-08 14:09 Martin Mokrejs
2011-12-12 14:01 Martin Mokrejs
2011-12-12 14:02 Martin Mokrejs
2014-01-06 17:41 Justin Lecher
2014-03-24 13:30 Martin Mokrejs
2015-05-02 16:29 Martin Mokrejs
2015-05-02 16:29 Martin Mokrejs
2015-08-07 13:01 Justin Lecher
2016-03-23 19:04 Martin Mokrejs
2016-03-25 16:39 Martin Mokrejs
2016-03-25 17:28 Martin Mokrejs
2016-04-01 14:19 Marius Brehler
2016-04-01 14:19 Marius Brehler
2019-10-22 10:52 Martin Mokrejs
2021-01-18 15:32 Andrew Ammerlaan
2021-02-03  8:24 Andrew Ammerlaan

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=0d07adffb5c46caf3d42b8bb9a5bcf433e1a98c7.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