pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/readline If USE_GNU_READLINE is set, then actual...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4e9559d25be
branches:  trunk
changeset: 469130:e4e9559d25be
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Feb 20 06:51:16 2004 +0000

description:
If USE_GNU_READLINE is set, then actually use the builtin readline if it's
GNU and satisfies the dependency requirements.

diffstat:

 devel/readline/buildlink3.mk |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 61a59e13faa6 -r e4e9559d25be devel/readline/buildlink3.mk
--- a/devel/readline/buildlink3.mk      Fri Feb 20 04:54:18 2004 +0000
+++ b/devel/readline/buildlink3.mk      Fri Feb 20 06:51:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2004/02/18 16:35:27 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2004/02/20 06:51:16 jlam Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 READLINE_BUILDLINK3_MK:=       ${READLINE_BUILDLINK3_MK}+
@@ -126,8 +126,9 @@
 
 .  if defined(USE_GNU_READLINE)
 .    if !empty(BUILDLINK_IS_BUILTIN.readline:M[yY][eE][sS]) && \
-        !empty(_BLNK_LIBREADLINE_FOUND:M[nN][oO]) && \
-        !empty(_BLNK_LIBEDIT_FOUND:M[yY][eE][sS])
+        !empty(_BLNK_LIBREADLINE_FOUND:M[yY][eE][sS])
+BUILDLINK_USE_BUILTIN.readline=        YES
+.    else
 BUILDLINK_USE_BUILTIN.readline=        NO
 .    endif
 .  endif



Home | Main Index | Thread Index | Old Index