1 |
commit: 90ff30b87cffc4ed9d4b3876195ad9ba24cdaa89 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Sat Feb 23 15:40:53 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 23 15:42:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ff30b8 |
7 |
|
8 |
sys-apps/texinfo: Respect CC/CPPFLAGS/CFLAGS/LDFLAGS. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/622576 |
11 |
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
sys-apps/texinfo/{texinfo-6.6.ebuild => texinfo-6.6-r1.ebuild} | 5 ++++- |
16 |
1 file changed, 4 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/sys-apps/texinfo/texinfo-6.6.ebuild b/sys-apps/texinfo/texinfo-6.6-r1.ebuild |
19 |
similarity index 82% |
20 |
rename from sys-apps/texinfo/texinfo-6.6.ebuild |
21 |
rename to sys-apps/texinfo/texinfo-6.6-r1.ebuild |
22 |
index 41f0f7dd61c..592407ddde3 100644 |
23 |
--- a/sys-apps/texinfo/texinfo-6.6.ebuild |
24 |
+++ b/sys-apps/texinfo/texinfo-6.6-r1.ebuild |
25 |
@@ -7,7 +7,7 @@ |
26 |
|
27 |
EAPI=6 |
28 |
|
29 |
-inherit flag-o-matic |
30 |
+inherit flag-o-matic toolchain-funcs |
31 |
|
32 |
DESCRIPTION="The GNU info program and utilities" |
33 |
HOMEPAGE="https://www.gnu.org/software/texinfo/" |
34 |
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND} |
35 |
nls? ( >=sys-devel/gettext-0.19.6 )" |
36 |
|
37 |
src_configure() { |
38 |
+ # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions. #622576 |
39 |
+ local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}" |
40 |
+ |
41 |
use static && append-ldflags -static |
42 |
local myeconfargs=( |
43 |
--with-external-libintl-perl |