From a1d4b9e70ab14dd448da5079f029b60c9936def3 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 29 Dec 2006 15:11:20 +0000 Subject: OpenBSD ships GNU readline with integrated libhistory. Use the transformation framework to handle it. Reported and tested by Brad Knotwell. Thanks to the OpenBSD guys on the other side of the room for the clarification. --- devel/readline/builtin.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'devel') diff --git a/devel/readline/builtin.mk b/devel/readline/builtin.mk index 0fffdfe6bd1..46bbb63a60d 100644 --- a/devel/readline/builtin.mk +++ b/devel/readline/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.14 2006/04/06 06:21:55 reed Exp $ +# $NetBSD: builtin.mk,v 1.15 2006/12/29 15:11:20 joerg Exp $ BUILTIN_PKG:= readline @@ -107,7 +107,9 @@ CHECK_BUILTIN.readline?= no .if !empty(CHECK_BUILTIN.readline:M[nN][oO]) . if !empty(USE_BUILTIN.readline:M[yY][eE][sS]) -. if !empty(BUILTIN_LIB_FOUND.readline:M[nN][oO]) && \ +. if !empty(BUILTIN_LIB_FOUND.readline:M[Yy][Ee][Ss]) && ${OPSYS} == "OpenBSD" +BUILDLINK_TRANSFORM+= l:history:readline:termcap +. elif !empty(BUILTIN_LIB_FOUND.readline:M[nN][oO]) && \ !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS]) BUILDLINK_TRANSFORM+= l:history:edit:termcap BUILDLINK_TRANSFORM+= l:readline:edit:termcap -- cgit v1.2.3