summaryrefslogtreecommitdiffstats
path: root/japanese/less
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-02-17 12:18:20 +0000
committersf <sf@FreeBSD.org>2001-02-17 12:18:20 +0000
commit005cd18a5de70486a502c1f8449b0fdcc7eaa653 (patch)
treedc86548ad57c122dbdbf46cbc0edf0a01492f94e /japanese/less
parente0173b8aabd20eff5725acc12414924130727e1a (diff)
downloadFreeBSD-ports-005cd18a5de70486a502c1f8449b0fdcc7eaa653.zip
FreeBSD-ports-005cd18a5de70486a502c1f8449b0fdcc7eaa653.tar.gz
use better -lxpg4 detection code.
Obtained from: vim6
Diffstat (limited to 'japanese/less')
-rw-r--r--japanese/less/files/patch-ab17
1 files changed, 4 insertions, 13 deletions
diff --git a/japanese/less/files/patch-ab b/japanese/less/files/patch-ab
index f6a5a6d..a271e87 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)
OpenPOWER on IntegriCloud