grep: update to 3.12

This commit is contained in:
Samuel Tyler 2026-03-06 16:30:03 +11:00
parent f824b6f9ac
commit bdae6532a5
No known key found for this signature in database
GPG key ID: EB5091A5C77E8DC4
9 changed files with 190 additions and 126 deletions

25
steps/grep-3.12/pass1.sh Executable file
View file

@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
find gnulib-tests -not -name "Makefile.am" -delete
rm doc/grep.info po/*.gmo
# cursed autotools order
# autopoint and libtoolize have to be run *before* gnulib
# and automake, etc after
find . \( -name 'Makefile.in' -o -name 'configure' \) -delete
autopoint -f
libtoolize -fi
. ../../import-gnulib.sh
AUTOPOINT=true LIBTOOLIZE=true autoreconf-2.71 -fi
}
src_configure() {
./configure --prefix="${PREFIX}"
}