pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/editline Fixes support of "history" and "readlin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acb2319dd6dd
branches:  trunk
changeset: 635581:acb2319dd6dd
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Jun 09 00:26:19 2014 +0000

description:
Fixes support of "history" and "readline" alternative libraries.
Those are required for the case in readline compatible mode, not for using
builtin editline.

diffstat:

 devel/editline/builtin.mk |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r e6cfa0ec00c6 -r acb2319dd6dd devel/editline/builtin.mk
--- a/devel/editline/builtin.mk Mon Jun 09 00:19:05 2014 +0000
+++ b/devel/editline/builtin.mk Mon Jun 09 00:26:19 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.5 2014/06/09 00:19:05 obache Exp $
+# $NetBSD: builtin.mk,v 1.6 2014/06/09 00:26:19 obache Exp $
 
 BUILTIN_PKG:=  editline
 
@@ -42,15 +42,17 @@
 CHECK_BUILTIN.editline?=       no
 .if !empty(CHECK_BUILTIN.editline:M[nN][oO])
 
+.  if !empty(_PKG_USE_READLINE:U:M[yY][eE][sS])
+BUILDLINK_TRANSFORM+=  l:history:edit:${BUILTIN_LIBNAME.termcap}
+BUILDLINK_TRANSFORM+=  l:readline:edit:${BUILTIN_LIBNAME.termcap}
+.  endif
+
 .  if !empty(USE_BUILTIN.editline:M[yY][eE][sS])
 .    if !empty(H_EDITLINE:M*/editline/readline.h)
 BUILDLINK_TARGETS+=    buildlink-readline-readline-h
 BUILDLINK_TARGETS+=    buildlink-readline-history-h
 .    endif
 
-BUILDLINK_TRANSFORM+=  l:history:edit:${BUILTIN_LIBNAME.termcap}
-BUILDLINK_TRANSFORM+=  l:readline:edit:${BUILTIN_LIBNAME.termcap}
-
 .    if !target(buildlink-readline-readline-h)
 .PHONY: buildlink-readline-readline-h
 buildlink-readline-readline-h:



Home | Main Index | Thread Index | Old Index