summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWANG Xuerui <xen0n@gentoo.org>2022-04-26 11:12:29 +0800
committerSam James <sam@gentoo.org>2022-04-26 05:03:07 +0100
commit245a61b5bb813af9ec9e89f9c8ca65d5c0e46aec (patch)
treec42b8cc46803fc1e3ba40223125fd0f970ada6df /sys-apps/grep/grep-3.7.ebuild
parentsys-apps/diffutils: avoid invoking autoconf (diff)
downloadgentoo-245a61b5bb813af9ec9e89f9c8ca65d5c0e46aec.tar.gz
gentoo-245a61b5bb813af9ec9e89f9c8ca65d5c0e46aec.tar.bz2
gentoo-245a61b5bb813af9ec9e89f9c8ca65d5c0e46aec.zip
sys-apps/grep: avoid invoking autoconf
Normally we'd just eautoreconf, but this is base-system and we cannot depend on autoconf, so we have to patch the generated files ourselves. This can go away once the loong fix patch is no longer necessary. Fixes: 07611b62174 ("sys-apps/grep: fix build on loong") Signed-off-by: WANG Xuerui <xen0n@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/grep/grep-3.7.ebuild')
-rw-r--r--sys-apps/grep/grep-3.7.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/grep/grep-3.7.ebuild b/sys-apps/grep/grep-3.7.ebuild
index b8ca4022782f..6c582f7eb308 100644
--- a/sys-apps/grep/grep-3.7.ebuild
+++ b/sys-apps/grep/grep-3.7.ebuild
@@ -45,6 +45,12 @@ src_prepare() {
src/egrep.sh || die #523898
default
+
+ # touch generated files after patching m4, to avoid activating maintainer
+ # mode
+ # remove when loong-fix-build.patch is no longer necessary
+ touch ./aclocal.m4 ./config.hin ./configure || die
+ find . -name Makefile.in -exec touch {} + || die
}
src_configure() {