summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2006-12-29 15:11:20 +0000
committerjoerg <joerg>2006-12-29 15:11:20 +0000
commit29ba55253eed48ce6bf769a6a8a4f9e5eccd41d3 (patch)
treee5b1679234dd273b6ab2da9f166ea9fea13eb45f
parent608b24345e72b40941dbbdbb63e9619685e28f01 (diff)
downloadpkgsrc-29ba55253eed48ce6bf769a6a8a4f9e5eccd41d3.tar.gz
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.
-rw-r--r--devel/readline/builtin.mk6
1 files changed, 4 insertions, 2 deletions
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