diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-02-17 12:18:20 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-02-17 12:18:20 +0000 |
commit | ea6fe5d7398b034f058bf88fb36ddca4f99e2d75 (patch) | |
tree | 7bfb6df401506e37cab2eb7b5424eb0120a14d84 /japanese/less | |
parent | 8b3186a76446a9d6478c7192e54e76f6ebc539c2 (diff) | |
download | ports-ea6fe5d7398b034f058bf88fb36ddca4f99e2d75.tar.gz ports-ea6fe5d7398b034f058bf88fb36ddca4f99e2d75.zip |
Notes
Diffstat (limited to 'japanese/less')
-rw-r--r-- | japanese/less/files/patch-ab | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/japanese/less/files/patch-ab b/japanese/less/files/patch-ab index f6a5a6d9cace..a271e8726fcb 100644 --- a/japanese/less/files/patch-ab +++ b/japanese/less/files/patch-ab @@ -1,19 +1,10 @@ ---- configure.in.orig Mon Nov 6 22:49:26 2000 -+++ configure.in Mon Nov 6 22:50:32 2000 -@@ -24,6 +24,16 @@ +--- configure.in.orig Sat Feb 17 16:37:23 2001 ++++ configure.in Sat Feb 17 16:38:58 2001 +@@ -26,6 +26,7 @@ AC_CHECK_LIB(gen, regcmp) AC_CHECK_LIB(intl, regcmp) AC_CHECK_LIB(PW, regcmp) -+setlocale_works=no -+AC_TRY_RUN([ -+#include <locale.h> -+int main() { -+char *p; p = setlocale(LC_ALL, "ja_JP.EUC"); -+if (p == NULL) exit(1); else exit(0); }], -+setlocale_works=yes,:,:) -+if test x$setlocale_works = xno; then -+AC_CHECK_LIB(xpg4, setlocale) -+fi ++AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,) dnl Checks for terminal libraries AC_MSG_CHECKING(for working terminal libraries) |