2021-01-23 05:44:05 +13:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2019-09-24 02:56:39 -04:00
|
|
|
port=less
|
2022-03-12 15:38:17 -08:00
|
|
|
version=590
|
2019-09-24 02:56:39 -04:00
|
|
|
useconfigure="true"
|
2023-07-10 11:49:01 +02:00
|
|
|
files="https://ftpmirror.gnu.org/gnu/less/less-${version}.tar.gz less-${version}.tar.gz 6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10"
|
2021-09-27 00:16:18 +02:00
|
|
|
depends=("ncurses")
|
2021-06-14 22:12:48 -07:00
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
run_replace_in_file "s/#define HAVE_WCTYPE 1/\/* #undef HAVE_WCTYPE *\//" defines.h
|
|
|
|
run touch stamp-h # prevent config.status from overwriting our changes
|
|
|
|
}
|