summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-02-23 16:40:53 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-02-23 16:42:12 +0100
commit90ff30b87cffc4ed9d4b3876195ad9ba24cdaa89 (patch)
tree5537cf3d617a0c81d24dd4fa5f5babcdf63ad46a /sys-apps
parentapp-text/wgetpaste: amd64 sparc x86 stable (diff)
downloadgentoo-90ff30b87cffc4ed9d4b3876195ad9ba24cdaa89.tar.gz
gentoo-90ff30b87cffc4ed9d4b3876195ad9ba24cdaa89.tar.bz2
gentoo-90ff30b87cffc4ed9d4b3876195ad9ba24cdaa89.zip
sys-apps/texinfo: Respect CC/CPPFLAGS/CFLAGS/LDFLAGS.
Closes: https://bugs.gentoo.org/622576 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/texinfo/texinfo-6.6-r1.ebuild (renamed from sys-apps/texinfo/texinfo-6.6.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/texinfo/texinfo-6.6.ebuild b/sys-apps/texinfo/texinfo-6.6-r1.ebuild
index 41f0f7dd61c7..592407ddde3f 100644
--- a/sys-apps/texinfo/texinfo-6.6.ebuild
+++ b/sys-apps/texinfo/texinfo-6.6-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/"
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.19.6 )"
src_configure() {
+ # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions. #622576
+ 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