From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 802B813829C for ; Thu, 2 Jun 2016 07:34:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE3F621C051; Thu, 2 Jun 2016 07:34:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E243921C051 for ; Thu, 2 Jun 2016 07:34:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E00A0340C9A for ; Thu, 2 Jun 2016 07:34:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 162A4980 for ; Thu, 2 Jun 2016 07:34:46 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1464852796.e5a4e48fe6bb76ef62fae3f22601b801dbe59a06.bircoph@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/htmldoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/htmldoc/htmldoc-1.8.29.ebuild X-VCS-Directories: app-text/htmldoc/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: e5a4e48fe6bb76ef62fae3f22601b801dbe59a06 X-VCS-Branch: master Date: Thu, 2 Jun 2016 07:34:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bc5cc8fe-bff3-4b1b-b8ab-b39f64da9f5a X-Archives-Hash: 1dd3b128161f7445f56e352413736600 commit: e5a4e48fe6bb76ef62fae3f22601b801dbe59a06 Author: Andrew Savchenko gentoo org> AuthorDate: Thu Jun 2 07:32:10 2016 +0000 Commit: Andrew Savchenko gentoo 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 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