diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-24 10:48:40 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-24 10:48:52 +0100 |
commit | cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc (patch) | |
tree | 84d5d1cc21ac9fa6f5cfd5272f54001cb25dad3c /sys-devel | |
parent | net-dns/pdns: subscribe to dev-db/mysql-connector-c subslot (diff) | |
download | gentoo-cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc.tar.gz gentoo-cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc.tar.bz2 gentoo-cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc.zip |
sys-devel/autogen: override *_cv_* fro corss-case, bug #425174
A few autogen configure tests require running the program on machine:
export ag_cv_run_strcspn=no
export libopts_cv_with_libregex=yes
Pass these to get past ./configure. Autogen still reexecutes itself
at build time. Will need more fixes if feasible at all.
Reported-by: Thomas Sachau
Bug: https://bugs.gentoo.org/425174
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/autogen/autogen-5.18.16-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-devel/autogen/autogen-5.18.16-r1.ebuild b/sys-devel/autogen/autogen-5.18.16-r1.ebuild index d69abe1e265b..b2f45d68237b 100644 --- a/sys-devel/autogen/autogen-5.18.16-r1.ebuild +++ b/sys-devel/autogen/autogen-5.18.16-r1.ebuild @@ -43,6 +43,13 @@ src_configure() { # suppress possibly incorrect -R flag export ag_cv_test_ldflags= + # autogen requires run-time sanity of regex and string functions. + # Use defaults of linux-glibc until we need somethig more advanced. + if tc-is-cross-compiler ; then + export ag_cv_run_strcspn=no + export libopts_cv_with_libregex=yes + fi + econf $(use_enable static-libs static) } |