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