2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-09-01 16:27:50 +03:00
|
|
|
port='less'
|
2023-09-01 21:09:03 +03:00
|
|
|
version='643'
|
2023-09-01 16:27:50 +03:00
|
|
|
useconfigure='true'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-01 21:09:03 +03:00
|
|
|
"https://ftpmirror.gnu.org/gnu/less/less-${version}.tar.gz#2911b5432c836fa084c8a2e68f6cd6312372c026a58faaa98862731c8b6052e8"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2023-09-01 16:27:50 +03:00
|
|
|
depends=(
|
|
|
|
'ncurses'
|
|
|
|
)
|
2021-06-15 08:12:48 +03:00
|
|
|
|
|
|
|
post_configure() {
|
2023-09-01 16:27:50 +03:00
|
|
|
run_replace_in_file 's/#define HAVE_WCTYPE 1/\/* #undef HAVE_WCTYPE *\//' defines.h
|
2021-06-15 08:12:48 +03:00
|
|
|
run touch stamp-h # prevent config.status from overwriting our changes
|
|
|
|
}
|