From 771cac75fa9943a60895e11f29e09cd06c005b2d Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 10 Feb 2019 04:13:43 +0100 Subject: [PATCH] sys-apps/texinfo: Respect CC/CPPFLAGS/CFLAGS/LDFLAGS. Fixes: https://bugs.gentoo.org/622576 Signed-off-by: Arfrever Frehtes Taifersar Arahesis --- sys-apps/texinfo/texinfo-6.5-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-apps/texinfo/texinfo-6.5-r1.ebuild b/sys-apps/texinfo/texinfo-6.5-r1.ebuild index d42ea554e6d..54cdb5651d2 100644 --- a/sys-apps/texinfo/texinfo-6.5-r1.ebuild +++ b/sys-apps/texinfo/texinfo-6.5-r1.ebuild @@ -7,7 +7,7 @@ EAPI=6 -inherit flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="The GNU info program and utilities" HOMEPAGE="https://www.gnu.org/software/texinfo/" @@ -36,6 +36,9 @@ PATCHES=( ) src_configure() { + # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions. + local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}" + use static && append-ldflags -static local myeconfargs=( --with-external-libintl-perl -- 2.20.1