View | Details | Raw Unified | Return to bug 220013 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-configure (-4 / +23 lines)
Lines 1-5 Link Here
1
--- configure.orig	2016-01-31 11:55:44 UTC
1
--- configure.orig	2017-06-16 03:32:58.526149000 +0900
2
+++ configure
2
+++ configure	2017-06-16 05:56:26.599942000 +0900
3
@@ -1805,10 +1805,8 @@ if test "$vi_cv_canna" = "yes"; then
3
@@ -1805,10 +1805,8 @@ if test "$vi_cv_canna" = "yes"; then
4
 		case "$host_os" in
4
 		case "$host_os" in
5
 		bsdi2.1)
5
 		bsdi2.1)
Lines 13-19 Link Here
13
 		*)
13
 		*)
14
 			vi_cannapath="/usr/local/canna";;
14
 			vi_cannapath="/usr/local/canna";;
15
 		esac
15
 		esac
16
@@ -2155,13 +2153,13 @@ fi
16
@@ -2062,6 +2060,10 @@ if test "$vi_cv_tclinterp" = yes || test
17
 	LIBOBJS="api.o $LIBOBJS"
18
 fi
19
 
20
+case "$host_os" in
21
+freebsd*)
22
+;;
23
+*)
24
 echo $ac_n "checking for tgetent in -ltermlib""... $ac_c" 1>&6
25
 echo "configure:2067: checking for tgetent in -ltermlib" >&5
26
 ac_lib_var=`echo termlib'_'tgetent | sed 'y%./+-%__p_%'`
27
@@ -2149,19 +2151,20 @@ fi
28
 if test "$vi_cv_termlib" != no; then
29
 	LIBS="$vi_cv_termlib $LIBS"
30
 fi
31
-
32
+;;
33
+esac
34
 #AC_MSG_CHECKING(if --disable-curses option specified)
35
 #AC_ARG_ENABLE(curses,
17
 #	[  --disable-curses        DON'T use the nvi-provided curses routines.],
36
 #	[  --disable-curses        DON'T use the nvi-provided curses routines.],
18
 #	[vi_cv_curses="other curses"], [vi_cv_curses="bundled curses"])
37
 #	[vi_cv_curses="other curses"], [vi_cv_curses="bundled curses"])
19
 #AC_MSG_RESULT($vi_cv_curses)
38
 #AC_MSG_RESULT($vi_cv_curses)
Lines 25-31 Link Here
25
 	cobjs="\$(COBJS)";;
44
 	cobjs="\$(COBJS)";;
26
 "other curses")
45
 "other curses")
27
-	LIBS="-lcurses $LIBS";;
46
-	LIBS="-lcurses $LIBS";;
28
+	LIBS="-lncurses $LIBS";;
47
+	LIBS="-lncursesw $LIBS";;
29
 esac
48
 esac
30
 
49
 
31
 echo $ac_n "checking for sys/mman.h""... $ac_c" 1>&6
50
 echo $ac_n "checking for sys/mman.h""... $ac_c" 1>&6

Return to bug 220013