findutils: use pre_check() instead of overriding do_check()

This commit is contained in:
maxice8 2018-02-23 15:22:37 -03:00 committed by Toyam Cox
parent 58617fa7d8
commit 35d66ee1b7

View file

@ -22,12 +22,10 @@ alternatives="
post_extract() {
sed -i '/SUBDIRS/s/locate//' Makefile.in
}
do_check() {
pre_check() {
# LFS reccomends disabling this due to to the possibility of looping forever on some machines
# see: http://www.linuxfromscratch.org/lfs/view/development/chapter06/findutils.html
sed -i 's/test-lock..EXEEXT.//' tests/Makefile.in
make check
}
post_configure() {
make -C locate dblocation.texi