From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/htmldoc/
Date: Thu, 2 Jun 2016 07:34:46 +0000 (UTC) [thread overview]
Message-ID: <1464852796.e5a4e48fe6bb76ef62fae3f22601b801dbe59a06.bircoph@gentoo> (raw)
commit: e5a4e48fe6bb76ef62fae3f22601b801dbe59a06
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 2 07:32:10 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Thu Jun 2 07:33:16 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a4e48f
app-text/htmldoc: respect system toolchain settings
If CC and CXX variables are not exported to configure, it ignores
system toolchain setup and forces its own compiler preferences,
where clang/clang++ are on the first place if found. This is likely
not what users want and causes configure failure if CFLAGS/CXXFLAGS
contain flag(s) not supported by clang, but supported by gcc.
Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
app-text/htmldoc/htmldoc-1.8.29.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-text/htmldoc/htmldoc-1.8.29.ebuild b/app-text/htmldoc/htmldoc-1.8.29.ebuild
index db8e075..c7cd08a 100644
--- a/app-text/htmldoc/htmldoc-1.8.29.ebuild
+++ b/app-text/htmldoc/htmldoc-1.8.29.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=6
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="Convert HTML pages into a PDF document"
SRC_URI="http://www.msweet.org/files/project1/${P}-source.tar.bz2"
@@ -36,6 +36,7 @@ src_prepare() {
src_configure() {
local myconf="$(use_with fltk gui)"
+ CC=$(tc-getCC) CXX=$(tc-getCXX) \
econf ${myconf}
# Add missing -lfltk_images to LIBS
if use fltk; then
next reply other threads:[~2016-06-02 7:34 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 7:34 Andrew Savchenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-12-01 12:51 [gentoo-commits] repo/gentoo:master commit in: app-text/htmldoc/ Agostino Sarubbo
2016-12-01 12:53 Agostino Sarubbo
2016-12-02 14:21 Tobias Klausmann
2017-01-14 12:47 Jeroen Roovers
2017-01-19 10:40 Aaron Bauman
2017-05-06 5:55 Michael Orlitzky
2017-06-30 7:29 Sergei Trofimovich
2017-09-02 14:46 Michael Palimaka
2020-09-20 13:51 David Seifert
2021-01-18 16:02 Sam James
2021-01-18 16:20 Sam James
2021-01-18 16:23 Sam James
2021-01-18 16:23 Sam James
2021-01-18 16:23 Sam James
2021-01-22 16:53 Agostino Sarubbo
2021-01-22 20:29 Sam James
2021-01-24 13:33 Sam James
2021-01-24 13:35 Sam James
2021-01-24 20:21 Sam James
2021-06-01 0:40 Sam James
2022-11-16 17:23 John Helmert III
2022-12-18 11:37 Sam James
2022-12-18 11:44 Sam James
2022-12-18 12:46 Sam James
2022-12-18 19:50 Arthur Zamarin
2022-12-19 2:50 John Helmert III
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=1464852796.e5a4e48fe6bb76ef62fae3f22601b801dbe59a06.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