summaryrefslogtreecommitdiff
path: root/misc/ja-less/patches
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-05-31 13:00:24 +0000
committerseb <seb@pkgsrc.org>2002-05-31 13:00:24 +0000
commit075de81f04bf73e5ffa02e30289c2d6fe5c68b30 (patch)
treed3b2be257748cdf87034cda0ce671fb976fcd03e /misc/ja-less/patches
parent34be7bc54af4b28543300e14304e725679fb91c2 (diff)
downloadpkgsrc-075de81f04bf73e5ffa02e30289c2d6fe5c68b30.tar.gz
Reimport of package ja-less from japanese/less into misc/ja-less.
This is part of the japanese category retirement. CATEGORIES adjusted.
Diffstat (limited to 'misc/ja-less/patches')
-rw-r--r--misc/ja-less/patches/patch-aa18
-rw-r--r--misc/ja-less/patches/patch-ab32
-rw-r--r--misc/ja-less/patches/patch-ac87
3 files changed, 137 insertions, 0 deletions
diff --git a/misc/ja-less/patches/patch-aa b/misc/ja-less/patches/patch-aa
new file mode 100644
index 00000000000..f879a6b7554
--- /dev/null
+++ b/misc/ja-less/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+
+--- Makefile.in.orig Sun Jul 29 14:07:48 2001
++++ Makefile.in
+@@ -22,11 +22,11 @@
+
+ # Where the installed binary goes.
+ bindir = @bindir@
+-binprefix =
++binprefix = j
+
+ mandir = @mandir@
+ manext = 1
+-manprefix =
++manprefix = j
+
+ #### End of system configuration section. ####
+
diff --git a/misc/ja-less/patches/patch-ab b/misc/ja-less/patches/patch-ab
new file mode 100644
index 00000000000..144072fef10
--- /dev/null
+++ b/misc/ja-less/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+
+--- configure.in.orig Sun Jul 29 14:07:49 2001
++++ configure.in
+@@ -17,7 +17,6 @@
+
+ dnl Checks for libraries.
+ AC_CHECK_LIB(xcurses, initscr, [have_xcurses=yes], [have_xcurses=no])
+-AC_CHECK_LIB(ncurses, initscr, [have_ncurses=yes], [have_ncurses=no])
+ AC_CHECK_LIB(curses, initscr, [have_curses=yes], [have_curses=no])
+ AC_CHECK_LIB(termcap, tgetent, [have_termcap=yes], [have_termcap=no])
+ AC_CHECK_LIB(termlib, tgetent, [have_termlib=yes], [have_termlib=no])
+@@ -44,19 +43,6 @@
+ if test "x$TERMLIBS" = x; then
+ if test $have_xcurses = yes; then
+ TERMLIBS="-lxcurses"
+- SAVE_LIBS=$LIBS
+- LIBS="$LIBS $TERMLIBS"
+- AC_TRY_LINK(, [tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);],
+- [termok=yes], [termok=no])
+- LIBS=$SAVE_LIBS
+- if test $termok = no; then TERMLIBS=""; fi
+- fi
+-fi
+-
+-dnl -- Try ncurses.
+-if test "x$TERMLIBS" = x; then
+- if test $have_ncurses = yes; then
+- TERMLIBS="-lncurses"
+ SAVE_LIBS=$LIBS
+ LIBS="$LIBS $TERMLIBS"
+ AC_TRY_LINK(, [tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);],
diff --git a/misc/ja-less/patches/patch-ac b/misc/ja-less/patches/patch-ac
new file mode 100644
index 00000000000..aca81704d80
--- /dev/null
+++ b/misc/ja-less/patches/patch-ac
@@ -0,0 +1,87 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+
+--- configure.orig Sun Jul 29 14:07:49 2001
++++ configure
+@@ -973,47 +973,6 @@
+ have_xcurses=no
+ fi
+
+-echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
+-echo "configure:978: checking for initscr in -lncurses" >&5
+-ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'`
+-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+- ac_save_LIBS="$LIBS"
+-LIBS="-lncurses $LIBS"
+-cat > conftest.$ac_ext <<EOF
+-#line 986 "configure"
+-#include "confdefs.h"
+-/* Override any gcc2 internal prototype to avoid an error. */
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char initscr();
+-
+-int main() {
+-initscr()
+-; return 0; }
+-EOF
+-if { (eval echo configure:997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+- rm -rf conftest*
+- eval "ac_cv_lib_$ac_lib_var=yes"
+-else
+- echo "configure: failed program was:" >&5
+- cat conftest.$ac_ext >&5
+- rm -rf conftest*
+- eval "ac_cv_lib_$ac_lib_var=no"
+-fi
+-rm -f conftest*
+-LIBS="$ac_save_LIBS"
+-
+-fi
+-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+- echo "$ac_t""yes" 1>&6
+- have_ncurses=yes
+-else
+- echo "$ac_t""no" 1>&6
+-have_ncurses=no
+-fi
+-
+ echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
+ echo "configure:1019: checking for initscr in -lcurses" >&5
+ ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'`
+@@ -1298,34 +1257,6 @@
+ LIBS="$LIBS $TERMLIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1301 "configure"
+-#include "confdefs.h"
+-
+-int main() {
+-tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);
+-; return 0; }
+-EOF
+-if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+- rm -rf conftest*
+- termok=yes
+-else
+- echo "configure: failed program was:" >&5
+- cat conftest.$ac_ext >&5
+- rm -rf conftest*
+- termok=no
+-fi
+-rm -f conftest*
+- LIBS=$SAVE_LIBS
+- if test $termok = no; then TERMLIBS=""; fi
+- fi
+-fi
+-
+-if test "x$TERMLIBS" = x; then
+- if test $have_ncurses = yes; then
+- TERMLIBS="-lncurses"
+- SAVE_LIBS=$LIBS
+- LIBS="$LIBS $TERMLIBS"
+- cat > conftest.$ac_ext <<EOF
+-#line 1329 "configure"
+ #include "confdefs.h"
+
+ int main() {