diff --git a/Ports/less/package.sh b/Ports/less/package.sh index 4fcfdc2093..59664655df 100755 --- a/Ports/less/package.sh +++ b/Ports/less/package.sh @@ -9,3 +9,8 @@ https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg" depends="ncurses" auth_type="sig" auth_opts="--keyring ./gnu-keyring.gpg less-${version}.tar.gz.sig" + +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 +}