pkgsrc/devel/readline/buildlink3.mk
adam e556663701 Changes 6.2:
a. Fixed a bug that caused the unconverted filename to be added to the list of
   completions when the application specified filename conversion functions.
b. Fixed a bug that caused the wrong filename to be passed to opendir when the
   application has specified a filename dequoting function.
c. Fixed a bug when repeating a character search in vi mode in the case where
   there was no search to repeat.
d. When show-all-if-ambiguous is set, the completion routines no longer insert
   a common match prefix that is shorter than the text being completed.
e. The full set of vi editing commands may now be used in callback mode.
   dimensions while running in `no-echo' mode.
h. Fixed a bug that caused readline to dump core if an application called
   rl_prep_terminal without setting rl_instream.
i. Fixed a bug that caused meta-prefixed characters bound to incremental
   search forward or backward to not be recognized if they were typed
   subsequently.
j. The incremental search code treats key sequences that map to the same
   functions as (default) ^G, ^W, and ^Y as equivalent to those characters.
k. Fixed a bug in menu-complete that caused it to misbehave with large
   negative argument.
l. Fixed a bug that caused vi-mode yank-last-arg to ring the bell when invoked
   at the end of the line.
m. Fixed a bug that made an explicit argument of 0 to yank-last-arg behave
   as if it were a negative argument.
n. Fixed a bug that caused directory names in words to be completed to not
   be dequoted correctly.

New Features
a. The history library does not try to write the history filename in the
   current directory if $HOME is unset.  This closes a potential security
   problem if the application does not specify a history filename.
b. New bindable variable `completion-display-width' to set the number of
   columns used when displaying completions.
c. New bindable variable `completion-case-map' to cause case-insensitive
   completion to treat `-' and `_' as identical.
d. There are new bindable vi-mode command names to avoid readline's case-
   insensitive matching not allowing them to be bound separately.
e. New bindable variable `menu-complete-display-prefix' causes the menu
   completion code to display the common prefix of the possible completions
   before cycling through the list, instead of after.
2011-02-23 11:00:17 +00:00

39 lines
1.3 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.33 2011/02/23 11:00:17 adam Exp $
BUILDLINK_TREE+= readline
.if !defined(READLINE_BUILDLINK3_MK)
READLINE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.readline+= readline>=2.2
BUILDLINK_ABI_DEPENDS.readline+= readline>=6.0
BUILDLINK_PKGSRCDIR.readline?= ../../devel/readline
BUILDLINK_FILES.readline+= include/history.h
BUILDLINK_FILES.readline+= include/readline.h
BUILDLINK_FNAME_TRANSFORM.readline+= -e 's|include/history\.h|include/readline/history.h|g'
BUILDLINK_FNAME_TRANSFORM.readline+= -e 's|include/readline\.h|include/readline/readline.h|g'
# Many GNU configure scripts don't check for the correct terminal library
# when testing for -lreadline. If BROKEN_READLINE_DETECTION is set to
# "yes", then automatically add the right one.
. include "../../mk/bsd.fast.prefs.mk"
BROKEN_READLINE_DETECTION?= no
.if !empty(BROKEN_READLINE_DETECTION:M[yY][eE][sS])
BUILDLINK_TRANSFORM+= l:readline:readline:${BUILDLINK_LIBNAME.termcap}
.endif
CHECK_BUILTIN.readline:= yes
.include "../../devel/readline/builtin.mk"
CHECK_BUILTIN.readline:= no
# A built-in readline is always going to use a built-in termcap.
.if !empty(USE_BUILTIN.readline:M[yY][eE][sS])
USE_BUILTIN.termcap= yes
.endif
.include "../../mk/termcap.buildlink3.mk"
.endif # READLINE_BUILDLINK3_MK
BUILDLINK_TREE+= -readline