From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/root/
Date: Sat, 18 Jul 2015 09:45:27 +0000 (UTC) [thread overview]
Message-ID: <1437212677.edac8a8350c5bd22f8f73f170439290f9b38a71b.bircoph@gentoo> (raw)
commit: edac8a8350c5bd22f8f73f170439290f9b38a71b
Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
AuthorDate: Sat Jul 18 09:44:37 2015 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Jul 18 09:44:37 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=edac8a83
avoid unconditional pg_config sourcing by usex
sci-physics/root/ChangeLog | 4 ++++
sci-physics/root/root-5.34.32.ebuild | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog
index 10c7d9e..61a91bd 100644
--- a/sci-physics/root/ChangeLog
+++ b/sci-physics/root/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.96 2012/03/29 18:21:49 bicatali Exp $
+ 18 Jul 2015; Andrew Savchenko <bircoph@gentoo.org> root-5.34.32.ebuild:
+ Do not use usex for postgres to avoid pg_config unconditional sourcing. See
+ bug 555246.
+
*root-5.34.32 (17 Jul 2015)
17 Jul 2015; Andrew Savchenko <bircoph@gentoo.org> +root-5.34.32.ebuild,
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
index 283102f..4b02cba 100644
--- a/sci-physics/root/root-5.34.32.ebuild
+++ b/sci-physics/root/root-5.34.32.ebuild
@@ -310,7 +310,6 @@ src_configure() {
$(use_enable opengl)
$(use_enable oracle)
$(use_enable postgres pgsql)
- $(usex postgres "--with-pgsql-incdir=$(pg_config --includedir)" "")
$(use_enable prefix rpath)
$(use_enable pythia6)
$(use_enable pythia8)
@@ -330,6 +329,10 @@ src_configure() {
${EXTRA_ECONF}
)
+ # usex can't be used here, because pg_config may be not
+ # installed with USE="-postgres"
+ use postgres && myconf+=( --with-pgsql-incdir=$(pg_config --includedir) )
+
./configure ${myconf[@]} || die "configure failed"
}
next reply other threads:[~2015-07-18 9:45 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-18 9:45 Andrew Savchenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-26 14:45 [gentoo-commits] proj/sci:master commit in: sci-physics/root/ Justin Lecher
2016-07-02 9:02 Justin Lecher
2016-05-07 9:37 Justin Lecher
2015-09-23 12:48 Justin Lecher
2015-04-13 6:25 Justin Lecher
2015-04-12 17:59 Andrew Savchenko
2015-04-11 18:12 Andrew Savchenko
2015-04-11 9:22 Andrew Savchenko
2015-03-02 8:12 Andrew Savchenko
2015-02-24 23:53 Andrew Savchenko
2015-01-01 23:12 Andrew Savchenko
2015-01-01 15:20 Andrew Savchenko
2015-01-01 15:20 Andrew Savchenko
2014-11-10 15:14 Justin Lecher
2014-10-26 16:16 Justin Lecher
2014-07-06 12:53 Andrew Savchenko
2014-07-03 14:15 Andrew Savchenko
2014-01-06 19:27 Justin Lecher
2013-12-29 0:31 Justin Lecher
2013-12-10 16:18 Andrew Savchenko
2013-11-08 17:50 Andrew Savchenko
2013-10-07 2:37 Andrew Savchenko
2013-10-06 3:57 Andrew Savchenko
2013-10-04 23:39 Andrew Savchenko
2013-09-17 19:13 Christoph Junghans
2013-06-29 6:14 Andrew Savchenko
2013-06-08 15:00 Andrew Savchenko
2013-06-04 11:59 Justin Lecher
2013-05-28 20:28 Andrew Savchenko
2012-10-29 11:00 Justin Lecher
2012-07-22 12:45 Andrew Savchenko
2012-07-21 22:43 Andrew Savchenko
2012-07-02 19:42 Justin Lecher
2012-06-20 9:18 Andrew Savchenko
2012-06-20 9:18 Andrew Savchenko
2012-06-19 23:18 Andrew Savchenko
2012-06-19 20:20 Andrew Savchenko
2012-06-13 15:45 Sebastien Fabbro
2012-05-30 16:34 Andrew Savchenko
2012-05-25 12:33 Andrew Savchenko
2012-05-23 20:01 Kacper Kowalik
2012-05-23 5:20 Andrew Savchenko
2012-05-22 19:43 Justin Lecher
2012-04-03 18:07 Justin Lecher
2012-04-03 18:07 Justin Lecher
2012-04-03 7:53 Andrew Savchenko
2012-04-03 4:13 Kacper Kowalik
2012-04-02 19:44 Andrew Savchenko
2012-03-23 16:04 Andrew Savchenko
2012-03-23 16:04 Andrew Savchenko
2012-03-22 0:23 Andrew Savchenko
2012-03-09 13:32 Andrew Savchenko
2012-03-09 2:20 Andrew Savchenko
2012-03-01 14:52 Andrew Savchenko
2012-01-03 3:07 Sebastien Fabbro
2012-01-03 3:07 Sebastien Fabbro
2011-12-15 18:50 Andrew Savchenko
2011-12-11 21:39 Andrew Savchenko
2011-11-25 3:27 Andrew Savchenko
2011-11-17 11:25 Justin Lecher
2011-10-27 21:49 Sebastien Fabbro
2011-10-21 21:04 Andrew Savchenko
2011-10-21 12:36 Andrew Savchenko
2011-10-03 0:15 Andrew Savchenko
2011-08-24 10:43 Andrew Savchenko
2011-08-02 22:30 Andrew Savchenko
2011-08-02 21:58 Andrew Savchenko
2011-03-07 12:01 Justin Lecher
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=1437212677.edac8a8350c5bd22f8f73f170439290f9b38a71b.bircoph@gentoo \
--to=bircoph@gentoo.org \
--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