summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-12-29 15:11:20 +0000
committerjoerg <joerg@pkgsrc.org>2006-12-29 15:11:20 +0000
commita1d4b9e70ab14dd448da5079f029b60c9936def3 (patch)
treee5b1679234dd273b6ab2da9f166ea9fea13eb45f
parent8049ff84816e38975b66c11e13c870609b634561 (diff)
downloadpkgsrc-a1d4b9e70ab14dd448da5079f029b60c9936def3.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