summaryrefslogtreecommitdiff
path: root/devel/readline
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-29 22:41:13 +0000
committerjlam <jlam@pkgsrc.org>2008-02-29 22:41:13 +0000
commit5603ef985397999d04ebbdd78a7c21ca004a70f0 (patch)
tree4c09730700480e5537329192a8145629c5512c5e /devel/readline
parent357bb4e1ea7223c84718860e327f2f6bd9ee75d2 (diff)
downloadpkgsrc-5603ef985397999d04ebbdd78a7c21ca004a70f0.tar.gz
Rename termlib.* to termcap.* to better document exactly what packages
are trying to use (the termcap t*() API).
Diffstat (limited to 'devel/readline')
-rw-r--r--devel/readline/Makefile6
-rw-r--r--devel/readline/buildlink3.mk10
-rw-r--r--devel/readline/builtin.mk8
3 files changed, 12 insertions, 12 deletions
diff --git a/devel/readline/Makefile b/devel/readline/Makefile
index fe4edb6c790..182783f4f8b 100644
--- a/devel/readline/Makefile
+++ b/devel/readline/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2008/02/27 18:16:37 jlam Exp $
+# $NetBSD: Makefile,v 1.44 2008/02/29 22:41:13 jlam Exp $
#
DISTNAME= readline-5.2
@@ -24,9 +24,9 @@ INFO_FILES= # PLIST
BUILD_TARGET= all-libtool
INSTALL_TARGET= install-libtool
-.include "../../mk/termlib.buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
-.if ${TERMLIB_TYPE} == "curses"
+.if ${TERMCAP_TYPE} == "curses"
CONFIGURE_ARGS+= --with-curses
.endif
diff --git a/devel/readline/buildlink3.mk b/devel/readline/buildlink3.mk
index 4ae7ab7e4a7..5397366befd 100644
--- a/devel/readline/buildlink3.mk
+++ b/devel/readline/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.29 2008/02/27 18:16:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.30 2008/02/29 22:41:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
READLINE_BUILDLINK3_MK:= ${READLINE_BUILDLINK3_MK}+
@@ -30,7 +30,7 @@ BUILDLINK_FNAME_TRANSFORM.readline+= \
. include "../../mk/bsd.fast.prefs.mk"
BROKEN_READLINE_DETECTION?= no
. if !empty(BROKEN_READLINE_DETECTION:M[yY][eE][sS])
-BUILDLINK_TRANSFORM+= l:readline:readline:${BUILDLINK_LIBNAME.termlib}
+BUILDLINK_TRANSFORM+= l:readline:readline:${BUILDLINK_LIBNAME.termcap}
. endif
.endif # READLINE_BUILDLINK3_MK
@@ -38,11 +38,11 @@ CHECK_BUILTIN.readline:= yes
.include "../../devel/readline/builtin.mk"
CHECK_BUILTIN.readline:= no
-# A built-in readline is always going to use a built-in termlib.
+# A built-in readline is always going to use a built-in termcap.
.if !empty(USE_BUILTIN.readline:M[yY][eE][sS])
-USE_BUILTIN.termlib= yes
+USE_BUILTIN.termcap= yes
.endif
-.include "../../mk/termlib.buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/readline/builtin.mk b/devel/readline/builtin.mk
index b421537d4f2..81935844662 100644
--- a/devel/readline/builtin.mk
+++ b/devel/readline/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.16 2008/02/27 18:16:37 jlam Exp $
+# $NetBSD: builtin.mk,v 1.17 2008/02/29 22:41:13 jlam Exp $
BUILTIN_PKG:= readline
@@ -109,15 +109,15 @@ CHECK_BUILTIN.readline?= no
. if !empty(USE_BUILTIN.readline:M[yY][eE][sS])
. if !empty(BUILTIN_LIB_FOUND.history:M[Nn][Oo]) && \
!empty(BUILTIN_LIB_FOUND.readline:M[Yy][Ee][Ss])
-BUILDLINK_TRANSFORM+= l:history:readline:${BUILTIN_LIBNAME.termlib}
+BUILDLINK_TRANSFORM+= l:history:readline:${BUILTIN_LIBNAME.termcap}
. endif
. if !empty(BUILTIN_LIB_FOUND.history:M[nN][oO]) && \
!empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
-BUILDLINK_TRANSFORM+= l:history:edit:${BUILTIN_LIBNAME.termlib}
+BUILDLINK_TRANSFORM+= l:history:edit:${BUILTIN_LIBNAME.termcap}
. endif
. if !empty(BUILTIN_LIB_FOUND.readline:M[nN][oO]) && \
!empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
-BUILDLINK_TRANSFORM+= l:readline:edit:${BUILTIN_LIBNAME.termlib}
+BUILDLINK_TRANSFORM+= l:readline:edit:${BUILTIN_LIBNAME.termcap}
. endif
. endif