diff options
author | obache <obache@pkgsrc.org> | 2014-06-09 00:26:19 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-06-09 00:26:19 +0000 |
commit | e8c144dc914d995942fd10de28be530f0b97381c (patch) | |
tree | 42385fb0133809aa54f9d3e1e81a6be1f3105184 /devel | |
parent | d66155dced41330e60aa42b2ee32d2e13eff3221 (diff) | |
download | pkgsrc-e8c144dc914d995942fd10de28be530f0b97381c.tar.gz |
Fixes support of "history" and "readline" alternative libraries.
Those are required for the case in readline compatible mode, not for using
builtin editline.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/editline/builtin.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/editline/builtin.mk b/devel/editline/builtin.mk index 64a08fe7e60..70708d3ad0e 100644 --- a/devel/editline/builtin.mk +++ b/devel/editline/builtin.mk @@ -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 @@ MAKEVARS+= USE_BUILTIN.editline 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: |