2021-02-28 20:53:20 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
src_prepare() {
|
2021-05-03 23:48:06 +01:00
|
|
|
default
|
2021-03-23 19:14:45 +00:00
|
|
|
mv lib/fnmatch.in.h lib/fnmatch.h
|
2021-02-28 20:53:20 +00:00
|
|
|
|
2021-05-17 23:25:46 +01:00
|
|
|
# gperf pregenerated files
|
|
|
|
rm lib/iconv_open-hpux.h lib/iconv_open-aix.h lib/iconv_open-irix.h lib/iconv_open-osf.h
|
|
|
|
|
2021-03-13 19:32:19 +00:00
|
|
|
# Rebuild bison pre-generated file
|
|
|
|
rm lib/getdate.c
|
|
|
|
cd lib
|
|
|
|
bison --update getdate.y
|
|
|
|
bison getdate.y
|
|
|
|
mv getdate.tab.c getdate.c
|
|
|
|
cd ..
|
|
|
|
|
2021-03-27 20:38:51 +00:00
|
|
|
touch config.h
|
|
|
|
touch lib/configmake.h
|
2021-02-28 20:53:20 +00:00
|
|
|
}
|
|
|
|
|