From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 386C7138334 for ; Sat, 24 Aug 2019 09:49:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 526CDE07DB; Sat, 24 Aug 2019 09:49:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39363E07DB for ; Sat, 24 Aug 2019 09:49:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E474D34A230 for ; Sat, 24 Aug 2019 09:49:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC510758 for ; Sat, 24 Aug 2019 09:48:58 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1566640132.cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/autogen/autogen-5.18.16-r1.ebuild X-VCS-Directories: sys-devel/autogen/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc X-VCS-Branch: master Date: Sat, 24 Aug 2019 09:48:58 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d375879b-3a3e-431f-9f39-b90eb7a571c0 X-Archives-Hash: 9628d36ee12bf874780dc1a3a79fa50a commit: cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 24 09:48:40 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 24 09:48:52 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc36ef1f 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 gentoo.org> sys-devel/autogen/autogen-5.18.16-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-devel/autogen/autogen-5.18.16-r1.ebuild b/sys-devel/autogen/autogen-5.18.16-r1.ebuild index d69abe1e265..b2f45d68237 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) }