ports/150695: [patch] editors/2bsd-vi: use ncurses rather than termlib
Anonymous
swell.k at gmail.com
Sat Sep 18 05:40:01 UTC 2010
>Number: 150695
>Category: ports
>Synopsis: [patch] editors/2bsd-vi: use ncurses rather than termlib
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 18 05:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
editing wide characters work on both, tested under unicode locale
>Description:
Use system library for accessing termcap database.
E.g. termlib doesn't read ~/.termcap.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: editors/2bsd-vi/files/patch-Makefile
===================================================================
RCS file: /a/.cvsup/ports/editors/2bsd-vi/files/patch-Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile
--- editors/2bsd-vi/files/patch-Makefile 20 Jan 2005 23:12:20 -0000 1.2
+++ editors/2bsd-vi/files/patch-Makefile 9 Aug 2010 21:11:37 -0000
@@ -21,6 +21,22 @@
#
# Compiler and linker flags.
+@@ -205,13 +204,13 @@ OSTYPE = -DVMUNIX
+ #
+ # You may also get terminfo access by using the ncurses library.
+ #
+-#TERMLIB = ncurses
++TERMLIB = ncurses
+ #
+ # The preferred choice for ex on Linux distributions, other systems that
+ # provide a good termcap file, or when setting the TERMCAP environment
+ # variable is deemed sufficient, is the included 2.11BSD termcap library.
+ #
+-TERMLIB = termlib
++#TERMLIB = termlib
+
+ #
+ # Since ex uses sbrk() internally, a conflict with the libc's version of
@@ -292,13 +291,6 @@
# install in standard place
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list