Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: /
Date: Tue, 21 Dec 2021 11:30:43
Message-Id: 1640080770.331d3dbb1fa1fdcade0d1debb1fc722ef3b9d1f2.grobian@gentoo
1 commit: 331d3dbb1fa1fdcade0d1debb1fc722ef3b9d1f2
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 21 09:59:30 2021 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 21 09:59:30 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=331d3dbb
7
8 autogen: keep our own m4 files around
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 autogen.sh | 11 ++++++++++-
13 1 file changed, 10 insertions(+), 1 deletion(-)
14
15 diff --git a/autogen.sh b/autogen.sh
16 index 1cfb68b..ea564e0 100755
17 --- a/autogen.sh
18 +++ b/autogen.sh
19 @@ -14,7 +14,16 @@ if ! qlist -qI sys-devel/autoconf-archive > /dev/null ; then
20 exit 1
21 fi
22
23 -v rm -rf autotools
24 +# keep this list updated with non-generated M4 files
25 +keepm4=( ac_check_sendfile.m4 )
26 +for keepf in "${keepm4[@]}" ; do
27 + v mv "${m4dir}/${keepf}" "autotools/"
28 +done
29 +v rm -rf autotools/{gnulib,m4}
30 +v mkdir "${m4dir}"
31 +for keepf in "${keepm4[@]}" ; do
32 + v mv "autotools/${keepf}" "${m4dir}/"
33 +done
34
35 # reload the gnulib code
36 PATH=/usr/local/src/gnu/gnulib:${PATH}