summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/autogen/autogen-5.18.16.ebuild')
-rw-r--r--sys-devel/autogen/autogen-5.18.16.ebuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-devel/autogen/autogen-5.18.16.ebuild b/sys-devel/autogen/autogen-5.18.16.ebuild
index fc70a815c93..c3f3fedf69a 100644
--- a/sys-devel/autogen/autogen-5.18.16.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16.ebuild
@@ -22,6 +22,18 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.18.16-no-werror.patch
)
+src_prepare() {
+ # no-werror.patch fixes both configure{.ac,}
+ # avoid configure echeck
+ touch -r configure.ac orig.configure.ac || die
+ touch -r configure orig.configure || die
+
+ default
+
+ touch -r orig.configure.ac configure.ac || die
+ touch -r orig.configure configure || die
+}
+
src_configure() {
# suppress possibly incorrect -R flag
export ag_cv_test_ldflags=