head	1.78;
access;
symbols
	pkgsrc-2026Q1:1.78.0.4
	pkgsrc-2026Q1-base:1.78
	pkgsrc-2025Q4:1.78.0.2
	pkgsrc-2025Q4-base:1.78
	pkgsrc-2025Q3:1.77.0.2
	pkgsrc-2025Q3-base:1.77
	pkgsrc-2025Q2:1.75.0.2
	pkgsrc-2025Q2-base:1.75
	pkgsrc-2025Q1:1.74.0.16
	pkgsrc-2025Q1-base:1.74
	pkgsrc-2024Q4:1.74.0.14
	pkgsrc-2024Q4-base:1.74
	pkgsrc-2024Q3:1.74.0.12
	pkgsrc-2024Q3-base:1.74
	pkgsrc-2024Q2:1.74.0.10
	pkgsrc-2024Q2-base:1.74
	pkgsrc-2024Q1:1.74.0.8
	pkgsrc-2024Q1-base:1.74
	pkgsrc-2023Q4:1.74.0.6
	pkgsrc-2023Q4-base:1.74
	pkgsrc-2023Q3:1.74.0.4
	pkgsrc-2023Q3-base:1.74
	pkgsrc-2023Q2:1.74.0.2
	pkgsrc-2023Q2-base:1.74
	pkgsrc-2023Q1:1.73.0.4
	pkgsrc-2023Q1-base:1.73
	pkgsrc-2022Q4:1.73.0.2
	pkgsrc-2022Q4-base:1.73
	pkgsrc-2022Q3:1.71.0.6
	pkgsrc-2022Q3-base:1.71
	pkgsrc-2022Q2:1.71.0.4
	pkgsrc-2022Q2-base:1.71
	pkgsrc-2022Q1:1.71.0.2
	pkgsrc-2022Q1-base:1.71
	pkgsrc-2021Q4:1.70.0.8
	pkgsrc-2021Q4-base:1.70
	pkgsrc-2021Q3:1.70.0.6
	pkgsrc-2021Q3-base:1.70
	pkgsrc-2021Q2:1.70.0.4
	pkgsrc-2021Q2-base:1.70
	pkgsrc-2021Q1:1.70.0.2
	pkgsrc-2021Q1-base:1.70
	pkgsrc-2020Q4:1.69.0.10
	pkgsrc-2020Q4-base:1.69
	pkgsrc-2020Q3:1.69.0.8
	pkgsrc-2020Q3-base:1.69
	pkgsrc-2020Q2:1.69.0.6
	pkgsrc-2020Q2-base:1.69
	pkgsrc-2020Q1:1.69.0.2
	pkgsrc-2020Q1-base:1.69
	pkgsrc-2019Q4:1.69.0.4
	pkgsrc-2019Q4-base:1.69
	pkgsrc-2019Q3:1.68.0.6
	pkgsrc-2019Q3-base:1.68
	pkgsrc-2019Q2:1.68.0.4
	pkgsrc-2019Q2-base:1.68
	pkgsrc-2019Q1:1.68.0.2
	pkgsrc-2019Q1-base:1.68
	pkgsrc-2018Q4:1.67.0.10
	pkgsrc-2018Q4-base:1.67
	pkgsrc-2018Q3:1.67.0.8
	pkgsrc-2018Q3-base:1.67
	pkgsrc-2018Q2:1.67.0.6
	pkgsrc-2018Q2-base:1.67
	pkgsrc-2018Q1:1.67.0.4
	pkgsrc-2018Q1-base:1.67
	pkgsrc-2017Q4:1.67.0.2
	pkgsrc-2017Q4-base:1.67
	pkgsrc-2017Q3:1.66.0.8
	pkgsrc-2017Q3-base:1.66
	pkgsrc-2017Q2:1.66.0.4
	pkgsrc-2017Q2-base:1.66
	pkgsrc-2017Q1:1.66.0.2
	pkgsrc-2017Q1-base:1.66
	pkgsrc-2016Q4:1.65.0.2
	pkgsrc-2016Q4-base:1.65
	pkgsrc-2016Q3:1.63.0.2
	pkgsrc-2016Q3-base:1.63
	pkgsrc-2016Q2:1.62.0.4
	pkgsrc-2016Q2-base:1.62
	pkgsrc-2016Q1:1.62.0.2
	pkgsrc-2016Q1-base:1.62
	pkgsrc-2015Q4:1.61.0.8
	pkgsrc-2015Q4-base:1.61
	pkgsrc-2015Q3:1.61.0.6
	pkgsrc-2015Q3-base:1.61
	pkgsrc-2015Q2:1.61.0.4
	pkgsrc-2015Q2-base:1.61
	pkgsrc-2015Q1:1.61.0.2
	pkgsrc-2015Q1-base:1.61
	pkgsrc-2014Q4:1.60.0.2
	pkgsrc-2014Q4-base:1.60
	pkgsrc-2014Q3:1.59.0.2
	pkgsrc-2014Q3-base:1.59
	pkgsrc-2014Q2:1.56.0.4
	pkgsrc-2014Q2-base:1.56
	pkgsrc-2014Q1:1.56.0.2
	pkgsrc-2014Q1-base:1.56
	pkgsrc-2013Q4:1.54.0.4
	pkgsrc-2013Q4-base:1.54
	pkgsrc-2013Q3:1.54.0.2
	pkgsrc-2013Q3-base:1.54
	pkgsrc-2013Q2:1.53.0.2
	pkgsrc-2013Q2-base:1.53
	pkgsrc-2013Q1:1.52.0.4
	pkgsrc-2013Q1-base:1.52
	pkgsrc-2012Q4:1.52.0.2
	pkgsrc-2012Q4-base:1.52
	pkgsrc-2012Q3:1.51.0.14
	pkgsrc-2012Q3-base:1.51
	pkgsrc-2012Q2:1.51.0.12
	pkgsrc-2012Q2-base:1.51
	pkgsrc-2012Q1:1.51.0.10
	pkgsrc-2012Q1-base:1.51
	pkgsrc-2011Q4:1.51.0.8
	pkgsrc-2011Q4-base:1.51
	pkgsrc-2011Q3:1.51.0.6
	pkgsrc-2011Q3-base:1.51
	pkgsrc-2011Q2:1.51.0.4
	pkgsrc-2011Q2-base:1.51
	pkgsrc-2011Q1:1.51.0.2
	pkgsrc-2011Q1-base:1.51
	pkgsrc-2010Q4:1.50.0.8
	pkgsrc-2010Q4-base:1.50
	pkgsrc-2010Q3:1.50.0.6
	pkgsrc-2010Q3-base:1.50
	pkgsrc-2010Q2:1.50.0.4
	pkgsrc-2010Q2-base:1.50
	pkgsrc-2010Q1:1.50.0.2
	pkgsrc-2010Q1-base:1.50
	pkgsrc-2009Q4:1.49.0.4
	pkgsrc-2009Q4-base:1.49
	pkgsrc-2009Q3:1.49.0.2
	pkgsrc-2009Q3-base:1.49
	pkgsrc-2009Q2:1.48.0.2
	pkgsrc-2009Q2-base:1.48
	pkgsrc-2009Q1:1.47.0.2
	pkgsrc-2009Q1-base:1.47
	pkgsrc-2008Q4:1.46.0.6
	pkgsrc-2008Q4-base:1.46
	pkgsrc-2008Q3:1.46.0.4
	pkgsrc-2008Q3-base:1.46
	cube-native-xorg:1.46.0.2
	cube-native-xorg-base:1.46
	pkgsrc-2008Q2:1.45.0.6
	pkgsrc-2008Q2-base:1.45
	cwrapper:1.45.0.4
	pkgsrc-2008Q1:1.45.0.2
	pkgsrc-2008Q1-base:1.45
	pkgsrc-2007Q4:1.42.0.2
	pkgsrc-2007Q4-base:1.42
	pkgsrc-2007Q3:1.41.0.8
	pkgsrc-2007Q3-base:1.41
	pkgsrc-2007Q2:1.41.0.6
	pkgsrc-2007Q2-base:1.41
	pkgsrc-2007Q1:1.41.0.4
	pkgsrc-2007Q1-base:1.41
	pkgsrc-2006Q4:1.41.0.2
	pkgsrc-2006Q4-base:1.41
	pkgsrc-2006Q3:1.39.0.4
	pkgsrc-2006Q3-base:1.39
	pkgsrc-2006Q2:1.39.0.2
	pkgsrc-2006Q2-base:1.39
	pkgsrc-2006Q1:1.38.0.2
	pkgsrc-2006Q1-base:1.38
	pkgsrc-2005Q4:1.35.0.6
	pkgsrc-2005Q4-base:1.35
	pkgsrc-2005Q3:1.35.0.4
	pkgsrc-2005Q3-base:1.35
	pkgsrc-2005Q2:1.35.0.2
	pkgsrc-2005Q2-base:1.35
	pkgsrc-2005Q1:1.34.0.4
	pkgsrc-2005Q1-base:1.34
	pkgsrc-2004Q4:1.34.0.2
	pkgsrc-2004Q4-base:1.34
	pkgsrc-2004Q3:1.31.0.2
	pkgsrc-2004Q3-base:1.31
	pkgsrc-2004Q2:1.30.0.4
	pkgsrc-2004Q2-base:1.30
	pkgsrc-2004Q1:1.30.0.2
	pkgsrc-2004Q1-base:1.30
	pkgsrc-2003Q4:1.28.0.2
	pkgsrc-2003Q4-base:1.28
	netbsd-1-6-1:1.22.0.2
	netbsd-1-6-1-base:1.22
	netbsd-1-6:1.20.0.8
	netbsd-1-6-RELEASE-base:1.20
	pkgviews:1.20.0.4
	pkgviews-base:1.20
	buildlink2:1.20.0.2
	buildlink2-base:1.20
	netbsd-1-5-PATCH003:1.20
	netbsd-1-5-PATCH001:1.17
	netbsd-1-5-RELEASE:1.16
	netbsd-1-4-PATCH003:1.16
	netbsd-1-4-PATCH002:1.13
	comdex-fall-1999:1.13
	netbsd-1-4-PATCH001:1.13
	netbsd-1-4-RELEASE:1.12
	netbsd-1-3-PATCH003:1.9
	netbsd-1-3-PATCH002:1.7;
locks; strict;
comment	@# @;


1.78
date	2025.10.07.18.20.18;	author wiz;	state Exp;
branches;
next	1.77;
commitid	SWFTlae4uGTWnFdG;

1.77
date	2025.08.02.06.57.22;	author wiz;	state Exp;
branches
	1.77.2.1;
next	1.76;
commitid	ZTr5Gq4iYRajJ75G;

1.76
date	2025.08.02.06.56.14;	author wiz;	state Exp;
branches;
next	1.75;
commitid	nJxbKOG6AIbUI75G;

1.75
date	2025.04.07.17.20.16;	author nia;	state Exp;
branches;
next	1.74;
commitid	7ybk45aYlBwBV8QF;

1.74
date	2023.06.20.18.12.00;	author wiz;	state Exp;
branches;
next	1.73;
commitid	eLaRXIW9f0tflItE;

1.73
date	2022.12.06.05.34.06;	author sekiya;	state Exp;
branches;
next	1.72;
commitid	ztLnxm60xIhprs4E;

1.72
date	2022.10.03.12.45.34;	author wiz;	state Exp;
branches;
next	1.71;
commitid	JypNztrwKDLnTgWD;

1.71
date	2022.01.16.22.52.06;	author wiz;	state Exp;
branches;
next	1.70;
commitid	h6BfCQHie3yCBUoD;

1.70
date	2021.01.04.12.01.45;	author wiz;	state Exp;
branches;
next	1.69;
commitid	AC1x4EXwaGPR7pCC;

1.69
date	2019.11.03.10.39.29;	author rillig;	state Exp;
branches;
next	1.68;
commitid	REW2CfrA7HdqqoJB;

1.68
date	2019.02.13.22.49.02;	author wiz;	state Exp;
branches;
next	1.67;
commitid	neeoH0cQ3Mo0VEbB;

1.67
date	2017.12.24.10.15.21;	author wiz;	state Exp;
branches;
next	1.66;
commitid	wJ8OByjMLcXw78kA;

1.66
date	2016.12.30.11.45.51;	author wiz;	state Exp;
branches;
next	1.65;
commitid	PPR40EUfBDUY90Az;

1.65
date	2016.11.24.23.35.19;	author marino;	state Exp;
branches;
next	1.64;
commitid	UjE0WG9vmBT9frvz;

1.64
date	2016.11.20.01.14.21;	author dholland;	state Exp;
branches;
next	1.63;
commitid	0pUK6ta6YNruWNuz;

1.63
date	2016.09.19.09.04.29;	author wiz;	state Exp;
branches;
next	1.62;
commitid	SN44w1gSLLVUxSmz;

1.62
date	2016.02.25.12.12.49;	author jperkin;	state Exp;
branches;
next	1.61;
commitid	DLROVrVW2OU1fiWy;

1.61
date	2015.02.14.06.51.33;	author riastradh;	state Exp;
branches;
next	1.60;
commitid	yWUW6HC6dbRbyW9y;

1.60
date	2014.10.09.14.06.31;	author wiz;	state Exp;
branches;
next	1.59;
commitid	fBDATFVmQ3454xTx;

1.59
date	2014.08.13.09.28.37;	author markd;	state Exp;
branches;
next	1.58;
commitid	L30guZutsWFVlbMx;

1.58
date	2014.08.11.21.29.00;	author markd;	state Exp;
branches;
next	1.57;
commitid	6cb0wGFpUieHpZLx;

1.57
date	2014.07.18.13.02.06;	author ryoon;	state Exp;
branches;
next	1.56;
commitid	wUfZZZzgmvfNnRIx;

1.56
date	2014.03.12.10.04.50;	author wiz;	state Exp;
branches;
next	1.55;
commitid	3jP0sVirozS2wosx;

1.55
date	2014.01.12.13.30.25;	author chopps;	state Exp;
branches;
next	1.54;
commitid	c7T5qanzTZ2XxPkx;

1.54
date	2013.07.26.13.13.12;	author ryoon;	state Exp;
branches;
next	1.53;
commitid	GnW2I3OO5oN3VYYw;

1.53
date	2013.04.17.09.09.57;	author obache;	state Exp;
branches;
next	1.52;

1.52
date	2012.10.31.11.19.39;	author asau;	state Exp;
branches;
next	1.51;

1.51
date	2011.02.23.11.00.17;	author adam;	state Exp;
branches;
next	1.50;

1.50
date	2010.01.16.17.18.27;	author wiz;	state Exp;
branches;
next	1.49;

1.49
date	2009.08.26.20.37.00;	author wiz;	state Exp;
branches;
next	1.48;

1.48
date	2009.05.19.08.59.11;	author wiz;	state Exp;
branches;
next	1.47;

1.47
date	2009.02.23.12.35.46;	author wiz;	state Exp;
branches;
next	1.46;

1.46
date	2008.08.13.11.11.38;	author he;	state Exp;
branches;
next	1.45;

1.45
date	2008.03.02.07.07.43;	author jlam;	state Exp;
branches;
next	1.44;

1.44
date	2008.02.29.22.41.13;	author jlam;	state Exp;
branches;
next	1.43;

1.43
date	2008.02.27.18.16.37;	author jlam;	state Exp;
branches;
next	1.42;

1.42
date	2007.11.11.11.35.49;	author martti;	state Exp;
branches;
next	1.41;

1.41
date	2006.11.05.17.49.34;	author joerg;	state Exp;
branches;
next	1.40;

1.40
date	2006.10.22.10.55.31;	author wiz;	state Exp;
branches;
next	1.39;

1.39
date	2006.03.30.03.44.43;	author jlam;	state Exp;
branches;
next	1.38;

1.38
date	2006.03.04.21.29.29;	author jlam;	state Exp;
branches;
next	1.37;

1.37
date	2006.03.02.00.24.55;	author minskim;	state Exp;
branches;
next	1.36;

1.36
date	2005.12.31.00.01.45;	author wiz;	state Exp;
branches;
next	1.35;

1.35
date	2005.04.11.21.45.38;	author tv;	state Exp;
branches;
next	1.34;

1.34
date	2004.12.03.15.14.55;	author wiz;	state Exp;
branches;
next	1.33;

1.33
date	2004.11.14.06.16.49;	author jlam;	state Exp;
branches;
next	1.32;

1.32
date	2004.10.03.00.13.33;	author tv;	state Exp;
branches;
next	1.31;

1.31
date	2004.08.20.17.32.50;	author tv;	state Exp;
branches;
next	1.30;

1.30
date	2004.03.23.04.41.00;	author jlam;	state Exp;
branches;
next	1.29;

1.29
date	2004.01.05.11.19.13;	author jlam;	state Exp;
branches;
next	1.28;

1.28
date	2003.09.19.05.18.35;	author dent;	state Exp;
branches;
next	1.27;

1.27
date	2003.08.09.10.44.48;	author seb;	state Exp;
branches;
next	1.26;

1.26
date	2003.07.17.21.33.35;	author grant;	state Exp;
branches;
next	1.25;

1.25
date	2003.06.30.10.26.45;	author uebayasi;	state Exp;
branches;
next	1.24;

1.24
date	2003.06.25.11.32.38;	author seb;	state Exp;
branches;
next	1.23;

1.23
date	2003.06.02.01.20.15;	author jschauma;	state Exp;
branches;
next	1.22;

1.22
date	2002.12.07.17.39.47;	author jmmv;	state Exp;
branches;
next	1.21;

1.21
date	2002.08.25.18.38.45;	author jlam;	state Exp;
branches;
next	1.20;

1.20
date	2002.02.18.15.14.15;	author seb;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	2001.08.06.14.20.46;	author jlam;	state Exp;
branches;
next	1.18;

1.18
date	2001.06.19.08.48.57;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2001.02.16.14.39.00;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2000.07.19.09.31.44;	author jlam;	state Exp;
branches;
next	1.15;

1.15
date	2000.06.09.07.06.34;	author jlam;	state Exp;
branches;
next	1.14;

1.14
date	2000.06.01.11.23.24;	author rh;	state Exp;
branches;
next	1.13;

1.13
date	99.07.13.00.56.12;	author jlam;	state Exp;
branches;
next	1.12;

1.12
date	99.04.14.21.39.03;	author tron;	state Exp;
branches;
next	1.11;

1.11
date	99.03.22.16.08.32;	author bad;	state Exp;
branches;
next	1.10;

1.10
date	99.03.08.10.53.56;	author agc;	state Exp;
branches;
next	1.9;

1.9
date	98.07.14.15.55.38;	author agc;	state Exp;
branches;
next	1.8;

1.8
date	98.06.22.11.27.50;	author agc;	state Exp;
branches;
next	1.7;

1.7
date	98.04.21.08.36.12;	author hubertf;	state Exp;
branches;
next	1.6;

1.6
date	98.04.17.09.37.24;	author agc;	state Exp;
branches;
next	1.5;

1.5
date	98.04.15.10.38.21;	author agc;	state Exp;
branches;
next	1.4;

1.4
date	98.03.28.21.24.40;	author frueauf;	state Exp;
branches;
next	1.3;

1.3
date	98.03.19.13.02.19;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	98.03.10.13.47.35;	author frueauf;	state Exp;
branches;
next	1.1;

1.1
date	98.03.08.01.40.39;	author agc;	state Exp;
branches;
next	;

1.77.2.1
date	2025.10.15.17.17.48;	author maya;	state Exp;
branches;
next	;
commitid	roGyyvvobVQHMGeG;

1.20.2.1
date	2002.05.11.02.09.06;	author jlam;	state Exp;
branches;
next	1.20.2.2;

1.20.2.2
date	2002.06.21.23.05.10;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.78
log
@readline: fix event hook using upstream patch from mailing list

Should fix octave problems reported in PR 59688

Bump PKGREVISION.
@
text
@# $NetBSD: Makefile,v 1.77 2025/08/02 06:57:22 wiz Exp $

DISTNAME=	readline-8.3
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU:=readline/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://tiswww.case.edu/php/chet/readline/rltop.html
COMMENT=	GNU library that can recall and edit previous input
LICENSE=	gnu-gpl-v3

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
INFO_FILES=		yes

PKGCONFIG_OVERRIDE+=	history.pc.in
PKGCONFIG_OVERRIDE+=	readline.pc.in

.include "../../mk/bsd.prefs.mk"

.if ${USE_CROSS_COMPILE:U:tl} == yes
CONFIGURE_ENV.NetBSD+=	bash_cv_wcwidth_broken=no
.endif

BUILD_TARGET=		all-libtool
INSTALL_TARGET=		install-libtool install-pc

.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.77
log
@readline: pkglint fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2025/08/02 06:56:14 wiz Exp $
d4 1
@


1.77.2.1
log
@Pullup ticket #7008 - requested by wiz
devel/readline: Bug fix

Revisions pulled up:
- devel/readline/Makefile                                       1.78
- devel/readline/distinfo                                       1.41
- devel/readline/patches/patch-input.c                          1.3

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Tue Oct  7 18:20:19 UTC 2025

   Modified Files:
   	pkgsrc/devel/readline: Makefile distinfo
   Added Files:
   	pkgsrc/devel/readline/patches: patch-input.c

   Log Message:
   readline: fix event hook using upstream patch from mailing list

   Should fix octave problems reported in PR 59688

   Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD$
a3 1
PKGREVISION=	1
@


1.76
log
@readline: update to 8.3.

This document details the changes between this version, readline-8.3, and
the previous version, readline-8.2.

1. Changes to Readline

a. Fixed a bug in clearing the visible line structure before redisplay.

b. Fix a bug where setlocale(3) returning NULL caused a crash.

c. Fixed signal checking in callback mode to handle signals that arrive before
   readline restore's the application's signal handlers.

d. Fixed a bug with word completion where the directory name needs to be
   dequoted and tilde-expanded.

e. Fixed a bug that caused compilation to fail on systems with select but not
   pselect.

f. System-specific changes for: WIN32, z/OS, Cygwin, MSYS

g. Fixed a bug that caused word completion mismatches if the quoted text the
   user typed was longer than the unquoted match.

h. Fixes for freeing undo lists that might appear in history list entries
   after non-incremental searches.

i. Fixes for some errors revealed by address sanitizer.

j. In vi mode, if an `f' or `F' move command associated with a `c' or `C'
   command fails, don't enter insert mode.

k. Fixed bug with truncating a history file containing timestamps that caused
   the timestamp associated with the first history entry not to be written.

l. Fix vi-mode so that a motion command attached to d/D, y/Y, or t/T must
   consume or delete at least one character.

m. Fix a redisplay error when displaying meta characters as octal sequences
   and other C locale issues.

n. Fix error that caused characters composing an incomplete multibyte
   character not to be inserted into the line.

o. In callback mode, let the application echo the signal characters (e.g., ^C)
   when the application's signal handlers are installed.

p. Added some support for lines that consume more than the physical number of
   screen lines.

q. Make sure dump-variables returns the string values for active-region-start-color
   and active-region-end-color if they're set.

r. Fixes to how characters between 128 and 159 are printed when displaying
   macro values (use symbolic notation instead of directly printing the
   character).

s. Don't convert meta characters that contain NULL (\M-\C-@@) to actual NULs,
   which prematurely terminates the macro value.

t. Fix typo in the readline color prefix extension that it uses for coloring
   filename prefixes when displaying possible completions.

u. Call the filename rewrite hook on the word being completed before comparing
   it against possible completions from the file system to get consistent
   strings.

v. Fix infinite recursion that can happen if someone binds a key that doesn't
   have a different upper and lower case represenation to do-lowercase-version.

w. Check for non-ANSI (dumb) terminals a little more thoroughly.

x. Don't attempt to history-expand the `quick substitution' character at the
   beginning of a line if the application has set the quoting state to single
   quotes.

y. Fix small memory leak if non-incremental or incremental search is
   interrupted by a signal.

z. Loading very large history files should be much faster.

aa. Retry opening startup files if the open is interrupted by a signal
    and is not automatically restarted.

bb. Make sure the bracketed-paste input buffer is null-terminated when read
    returns an error.

cc. Fixed a small memory leak in execute-named-command if the command doesn't
    exist or the function doesn't return.

dd. Fix for attempting to change case of invalid multibyte characters.

ee. Fix for possible completions that compare identically when using case-
    insensitive completion but have different byte lengths.

ff. Fix to make non-incremental searches use undo lists and set the history
    position the same way as incremental searches.

gg. Don't check for signals when handling a received signal.

hh. Fix off-by-one error when tokenizing words like $((expr)) while performing
    history expansion.

ii. Fixes for incremental searches and redisplay in the C locale.

jj. Fixes for some use-after-free of the undo list errors when stacking multiple
    commands that use rl_maybe_replace_line to save changes to a history entry.

kk. Fixes to ensure that completion-prefix-display-length and
    colored-completion-prefix are mutually exclusive.

ll. Fixed a bug that allowed a history search to change the current history
    list position.

mm. Fixed a bug that allowed ^G to retain a saved command to execute.

nn. Updates to new export-completions command to allow filename suffixes.

oo. Fixed a redisplay bug with prompts containing multiple sequences of
    invisible characters that are longer than the screen width.

pp. The history library no longer skips blank lines while it is reading a
    multiline history entry from a history file.

2. New Features in Readline

a. Output a newline if there is no prompt and readline reads an empty line.

b. The history library falls back to stdio when writing the history list if
   mmap fails.

c. New bindable variable `search-ignore-case', causes readline to perform
   case-insensitive incremental and non-incremental history searches.

d. rl_full_quoting_desired: new application-settable variable, causes all
   completions to be quoted as if they were filenames.

e. rl_macro_display_hook: new application-settable function pointer, used if
   the application wants to print macro values itself instead of letting
   readline do it

f. rl_reparse_colors: new application-callable function, reparses $LS_COLORS
   (presumably after the user changes it)

g. rl_completion_rewrite_hook: new application-settable function pointer,
   called to modify the word being completed before comparing it against
   pathnames from the file system.

h. execute-named-command: a new bindable command that reads the name of a
   readline command from the standard input and executes it. Bound to M-x
   in emacs mode by default.

i. Incremental and non-incremental searches now allow ^V/^Q (or, in the former
   case, anything bound to quoted-insert) to quote characters in the search
   string.

j. Documentation has been significantly updated.

k. New `force-meta-prefix' bindable variable, which forces the use of ESC as
   the meta prefix when using "\M-" in key bindings instead of overloading
   convert-meta.

l. The default value for `readline-colored-completion-prefix' no longer has a
   leading `.'; the original report was based on a misunderstanding.

m. There is a new bindable command, `export-completions', which writes the
   possible completions for a word to the standard output in a defined format.

n. Readline can reset its idea of the screen dimensions when executing after
   a SIGCONT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.75 2025/04/07 17:20:16 nia Exp $
d21 1
a21 1
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
@


1.75
log
@readline: Avoid building examples.

We already avoid installing them, so this saves some CPU cycles.
It also fixes the build on UnixWare by avoiding non-portable code.

Tested on macOS, FreeBSD, NetBSD, OpenBSD, Linux, Cygwin by
drecklypkg ci and on UnixWare by me.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2023/06/20 18:12:00 wiz Exp $
d3 1
a3 4
READLINE_VERSION=	8.2
PKGREVISION=		2

DISTNAME=	readline-${READLINE_VERSION}
@


1.74
log
@readline: fix pkg-config files

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.73 2022/12/06 05:34:06 sekiya Exp $
d28 1
a28 1
BUILD_TARGET=		everything-libtool
@


1.73
log
@Add pkgconf .pc files to PLIST for packages that rely on pkgconf

Adjust readline.pc so that it does not depend on a pkgconf-aware termlib.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2022/10/03 12:45:34 wiz Exp $
d4 1
a4 1
PKGREVISION=	1
d19 3
@


1.72
log
@readline: update to 8.2.

New Features in Readline

a. There is now an HS_HISTORY_VERSION containing the version number of the
   history library for applications to use.

b. History expansion better understands multiple history expansions that may
   contain strings that would ordinarily inhibit history expansion (e.g.,
   `abc!$!$').

c. There is a new framework for readline timeouts, including new public
   functions to set timeouts and query how much time is remaining before a
   timeout hits, and a hook function that can trigger when readline times
   out. There is a new state value to indicate a timeout.

d. Automatically bind termcap key sequences for page-up and page-down to
   history-search-backward and history-search-forward, respectively.

e. There is a new `fetch-history' bindable command that retrieves the history
   entry corresponding to its numeric argument. Negative arguments count back
   from the end of the history.

f. `vi-undo' is now a bindable command.

g. There is a new option: `enable-active-region'. This separates control of
   the active region and bracketed-paste. It has the same default value as
   bracketed-paste, and enabling bracketed paste enables the active region.
   Users can now turn off the active region while leaving bracketed paste
   enabled.

h. rl_completer_word_break_characters is now `const char *' like
   rl_basic_word_break_characters.

i. Readline looks in $LS_COLORS for a custom filename extension
   (*.readline-colored-completion-prefix) and uses that as the default color
   for the common prefix displayed when `colored-completion-prefix' is set.

j. Two new bindable string variables: active-region-start-color and
   active-region-end-color. The first sets the color used to display the
   active region; the second turns it off. If set, these are used in place
   of terminal standout mode.

k. New readline state (RL_STATE_EOF) and application-visible variable
   (rl_eof_found) to allow applications to detect when readline reads EOF
   before calling the deprep-terminal hook.

l. There is a new configuration option: --with-shared-termcap-library, which
   forces linking the shared readline library with the shared termcap (or
   curses/ncurses/termlib) library so applications don't have to do it.

m. Readline now checks for changes to locale settings (LC_ALL/LC_CTYPE/LANG)
   each time it is called, and modifies the appropriate locale-specific display
   and key binding variables when the locale changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2022/01/16 22:52:06 wiz Exp $
d4 1
d26 1
a26 1
INSTALL_TARGET=		install-libtool
@


1.71
log
@readline: update to 8.1.2.

Changes not found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2021/01/04 12:01:45 wiz Exp $
d3 1
a3 1
READLINE_VERSION=	8.1.2
@


1.70
log
@readline: update to 8.1.

New Features in Readline

a. If a second consecutive completion attempt produces matches where the first
   did not, treat it as a new completion attempt and insert a match as
   appropriate.

b. Bracketed paste mode works in more places: incremental search strings, vi
   overstrike mode, character search, and reading numeric arguments.

c. Readline automatically switches to horizontal scrolling if the terminal has
   only one line.

d. Unbinding all key sequences bound to a particular readline function now
   descends into keymaps for multi-key sequences.

e. rl-clear-display: new bindable command that clears the screen and, if
   possible, the scrollback buffer (bound to emacs mode M-C-l by default).

f. New active mark and face feature: when enabled, it will highlight the text
   inserted by a bracketed paste (the `active region') and the text found by
   incremental and non-incremental history searches. This is tied to bracketed
   paste and can be disabled by turning off bracketed paste.

g. Readline sets the mark in several additional commands.

h. Bracketed paste mode is enabled by default. There is a configure-time
   option (--enable-bracketed-paste-default) to set the default to on or off.

i. Readline tries to take advantage of the more regular structure of UTF-8
   characters to identify the beginning and end of characters when moving
   through the line buffer.

j. The bindable operate-and-get-next command (and its default bindings) are
   now part of readline instead of a bash-specific addition.

k. The signal cleanup code now blocks SIGINT while processing after a SIGINT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2019/11/03 10:39:29 rillig Exp $
d3 1
a3 1
READLINE_VERSION=	8.1
@


1.69
log
@devel: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2019/02/13 22:49:02 wiz Exp $
d3 1
a3 1
READLINE_VERSION=	8.0
@


1.68
log
@readline: update to 8.0.

This is a terse description of the new features added to readline-8.0 since
the release of readline-7.0.

New Features in Readline

a. Non-incremental vi-mode search (`N', `n') can search for a shell pattern, as
   Posix specifies (uses fnmatch(3) if available).

b. There are new `next-screen-line' and `previous-screen-line' bindable
   commands, which move the cursor to the same column in the next, or previous,
   physical line, respectively.

c. There are default key bindings for control-arrow-key key combinations.

d. A negative argument (-N) to `quoted-insert' means to insert the next N
   characters using quoted-insert.

e. New public function: rl_check_signals(), which allows applications to
   respond to signals that readline catches while waiting for input using
   a custom read function.

f. There is new support for conditionally testing the readline version in an
   inputrc file, with a full set of arithmetic comparison operators available.

g. There is a simple variable comparison facility available for use within an
   inputrc file. Allowable operators are equality and inequality; string
   variables may be compared to a value; boolean variables must be compared to
   either `on' or `off'; variable names are separated from the operator by
   whitespace.

h. The history expansion library now understands command and process
   substitution and extended globbing and allows them to appear anywhere in a
   word.

i. The history library has a new variable that allows applications to set the
   initial quoting state, so quoting state can be inherited from a previous
   line.

j. Readline now allows application-defined keymap names; there is a new public
   function, rl_set_keymap_name(), to do that.

k. The "Insert" keypad key, if available, now puts readline into overwrite
   mode.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2017/12/24 10:15:21 wiz Exp $
d5 1
a5 1
DISTNAME=       readline-${READLINE_VERSION}
@


1.67
log
@readline: update HOMEPAGE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2016/12/30 11:45:51 wiz Exp $
d3 1
a3 1
READLINE_VERSION=	7.0
@


1.66
log
@Remove unneeded dragonfly workaround.

Tested on monster.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2016/11/24 23:35:19 marino Exp $
d10 1
a10 1
HOMEPAGE=	http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
@


1.65
log
@devel/readline: On DragonFly, uses ncurses instead of termcap

There is no termcap library available in any form on DragonFly.
Discussed with wiz@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2016/11/20 01:14:21 dholland Exp $
a26 4
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+=	--with-curses=yes
.include "../../mk/curses.buildlink3.mk"
.else
a27 1
.endif
@


1.64
log
@Fix three different interacting build problems:
  (1) don't ignore errors when building the examples;
  (2) build the examples *after* the library build, not *during* the
      library build;
  (3) don't try to compile the examples with "libtool --mode=link cc -c"
      as that flies like a particularly wingless brick.

Closes PR 51502.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2016/09/19 09:04:29 wiz Exp $
d27 4
d32 1
@


1.63
log
@Updated readline to 7.0.

This is a terse description of the new features added to readline-7.0 since
the release of readline-6.3.

New Features in Readline

a.  The history truncation code now uses the same error recovery mechansim as
    the history writing code, and restores the old version of the history file
    on error.  The error recovery mechanism handles symlinked history files.

b.  There is a new bindable variable, `enable-bracketed-paste', which enables
    support for a terminal's bracketed paste mode.

c.  The editing mode indicators can now be strings and are user-settable
    (new `emacs-mode-string', `vi-cmd-mode-string' and `vi-ins-mode-string'
    variables).  Mode strings can contain invisible character sequences.
    Setting mode strings to null strings restores the defaults.

d.  Prompt expansion adds the mode string to the last line of a multi-line
    prompt (one with embedded newlines).

e.  There is a new bindable variable, `colored-completion-prefix', which, if
    set, causes the common prefix of a set of possible completions to be
    displayed in color.

f.  There is a new bindable command `vi-yank-pop', a vi-mode version of emacs-
    mode yank-pop.

g.  The redisplay code underwent several efficiency improvements for multibyte
    locales.

h.  The insert-char function attempts to batch-insert all pending typeahead
    that maps to self-insert, as long as it is coming from the terminal.

i.  rl_callback_sigcleanup: a new application function that can clean up and
    unset any state set by readline's callback mode.  Intended to be used
    after a signal.

j.  If an incremental search string has its last character removed with DEL, the
    resulting empty search string no longer matches the previous line.

k.  If readline reads a history file that begins with `#' (or the value of
    the history comment character) and has enabled history timestamps, the history
    entries are assumed to be delimited by timestamps.  This allows multi-line
    history entries.

l.  Readline now throws an error if it parses a key binding without a terminating
    `:' or whitespace.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2016/02/25 12:12:49 jperkin Exp $
d24 1
a24 1
BUILD_TARGET=		all-libtool examples
@


1.62
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2015/02/14 06:51:33 riastradh Exp $
d3 1
a3 1
READLINE_VERSION=	6.3
a5 1
PKGREVISION=	3
@


1.61
log
@Work around broken wcwidth autoconf run-test in cross-compile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2014/10/09 14:06:31 wiz Exp $
d22 1
a22 3
.if ${OPSYS} == "NetBSD"
CONFIGURE_ENV+=		bash_cv_wcwidth_broken=no
.endif
@


1.60
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2014/08/13 09:28:37 markd Exp $
d19 8
@


1.59
log
@Backout Official Patch 5.  Some packages have already dealt with removal
of the obsolete "Function" and adding it back in breaks them.

Noted by Takahiro Kambe.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2014/08/11 21:29:00 markd Exp $
a14 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.58
log
@Apply Readline-6.3 Official Patches 1 - 6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2014/07/18 13:02:06 ryoon Exp $
d6 1
a6 1
PKGREVISION=	2
@


1.57
log
@Bump PKGREVISION

If S_ISSOCK is not defined, do not use it.
Fix mysql55-client build under SCO OpenServer 5.0.7/3.2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2014/03/12 10:04:50 wiz Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.56
log
@Update to 6.3:

This is a terse description of the new features added to readline-6.3 since
the release of readline-6.2.

New Features in Readline

a.  Readline is now more responsive to SIGHUP and other fatal signals when
    reading input from the terminal or performing word completion but no
    longer attempts to run any not-allowable functions from a signal handler
    context.

b.  There are new bindable commands to search the history for the string of
    characters between the beginning of the line and the point
    (history-substring-search-forward, history-substring-search-backward)

c.  Readline allows quoted strings as the values of variables when setting
    them with `set'.  As a side effect, trailing spaces and tabs are ignored
    when setting a string variable's value.

d.  The history library creates a backup of the history file when writing it
    and restores the backup on a write error.

e.  New application-settable variable: rl_filename_stat_hook: a function called
    with a filename before using it in a call to stat(2).  Bash uses it to
    expand shell variables so things like $HOME/Downloads have a slash
    appended.

f.  New bindable function `print-last-kbd-macro', prints the most-recently-
    defined keyboard macro in a reusable format.

g.  New user-settable variable `colored-stats', enables use of colored text
    to denote file types when displaying possible completions (colored analog
    of visible-stats).

h.  New user-settable variable `keyseq-timout', acts as an inter-character
    timeout when reading input or incremental search strings.

i.  New application-callable function: rl_clear_history. Clears the history list
    and frees all readline-associated private data.

j.  New user-settable variable, show-mode-in-prompt, adds a characters to the
    beginning of the prompt indicating the current editing mode.

k.  New application-settable variable: rl_input_available_hook; function to be
    called when readline detects there is data available on its input file
    descriptor.

l.  Readline calls an application-set event hook (rl_event_hook) after it gets
    a signal while reading input (read returns -1/EINTR but readline does not
    handle the signal immediately) to allow the application to handle or
    otherwise note it.

m.  If the user-settable variable `history-size' is set to a value less than
    0, the history list size is unlimited.

n.  New application-settable variable: rl_signal_event_hook; function that is
    called when readline is reading terminal input and read(2) is interrupted
    by a signal.  Currently not called for SIGHUP or SIGTERM.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2014/01/12 13:30:25 chopps Exp $
d6 1
@


1.55
log
@pull in fix from readline git repo (will be in 6.3) for vi mode and the
'cc', 'dd', 'yy' commands. Also correctly build examples for testing.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2013/07/26 13:13:12 ryoon Exp $
d3 1
a3 1
READLINE_VERSION=	6.2
a5 1
PKGREVISION=    1
@


1.54
log
@Cygwin64 1.7.22's gcc 4.8.1 does not accept -no-undefined.
Restrict to use with libtool only.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2013/04/17 09:09:57 obache Exp $
d3 4
a6 1
DISTNAME=	readline-6.2
d21 1
a21 1
BUILD_TARGET=		all-libtool
@


1.53
log
@pass -no-undefined to libtool on Cygwin for building shlib.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2012/10/31 11:19:39 asau Exp $
a20 2
LDFLAGS.Cygwin+=	-no-undefined

@


1.52
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2011/02/23 11:00:17 adam Exp $
d21 2
@


1.51
log
@Changes 6.2:
a. Fixed a bug that caused the unconverted filename to be added to the list of
   completions when the application specified filename conversion functions.
b. Fixed a bug that caused the wrong filename to be passed to opendir when the
   application has specified a filename dequoting function.
c. Fixed a bug when repeating a character search in vi mode in the case where
   there was no search to repeat.
d. When show-all-if-ambiguous is set, the completion routines no longer insert
   a common match prefix that is shorter than the text being completed.
e. The full set of vi editing commands may now be used in callback mode.
   dimensions while running in `no-echo' mode.
h. Fixed a bug that caused readline to dump core if an application called
   rl_prep_terminal without setting rl_instream.
i. Fixed a bug that caused meta-prefixed characters bound to incremental
   search forward or backward to not be recognized if they were typed
   subsequently.
j. The incremental search code treats key sequences that map to the same
   functions as (default) ^G, ^W, and ^Y as equivalent to those characters.
k. Fixed a bug in menu-complete that caused it to misbehave with large
   negative argument.
l. Fixed a bug that caused vi-mode yank-last-arg to ring the bell when invoked
   at the end of the line.
m. Fixed a bug that made an explicit argument of 0 to yank-last-arg behave
   as if it were a negative argument.
n. Fixed a bug that caused directory names in words to be completed to not
   be dequoted correctly.

New Features
a. The history library does not try to write the history filename in the
   current directory if $HOME is unset.  This closes a potential security
   problem if the application does not specify a history filename.
b. New bindable variable `completion-display-width' to set the number of
   columns used when displaying completions.
c. New bindable variable `completion-case-map' to cause case-insensitive
   completion to treat `-' and `_' as identical.
d. There are new bindable vi-mode command names to avoid readline's case-
   insensitive matching not allowing them to be bound separately.
e. New bindable variable `menu-complete-display-prefix' causes the menu
   completion code to display the common prefix of the possible completions
   before cycling through the list, instead of after.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2010/01/16 17:18:27 wiz Exp $
a12 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.50
log
@Update to 6.1:

This is a terse description of the new features added to readline-6.1 since
the release of readline-6.0.

1.  New Features in Readline

a.  New bindable function: menu-complete-backward.

b.  In the vi insertion keymap, C-n is now bound to menu-complete by default,
    and C-p to menu-complete-backward.

c.  When in vi command mode, repeatedly hitting ESC now does nothing, even
    when ESC introduces a bound key sequence.  This is closer to how
    historical vi behaves.

d.  New bindable function: skip-csi-sequence.  Can be used as a default to
    consume key sequences generated by keys like Home and End without having
    to bind all keys.

e.  New application-settable function: rl_filename_rewrite_hook.  Can be used
    to rewite or modify filenames read from the file system before they are
    compared to the word to be completed.

f.  New bindable variable: skip-completed-text, active when completing in the
    middle of a word.  If enabled, it means that characters in the completion
    that match characters in the remainder of the word are "skipped" rather
    than inserted into the line.

g.  The pre-readline-6.0 version of menu completion is available as
    "old-menu-complete" for users who do not like the readline-6.0 version.

h.  New bindable variable: echo-control-characters.  If enabled, and the
    tty ECHOCTL bit is set, controls the echoing of characters corresponding
    to keyboard-generated signals.

i.  New bindable variable: enable-meta-key.  Controls whether or not readline
    sends the smm/rmm sequences if the terminal indicates it has a meta key
    that enables eight-bit characters.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.49 2009/08/26 20:37:00 wiz Exp $
#
d3 1
a3 1
DISTNAME=	readline-6.1
a6 3
#PATCH_SITES=	${MASTER_SITE_GNU:=readline/readline-5.1-patches/}
#PATCHFILES=	readline51-001

d15 1
d17 1
a17 2
USE_LIBTOOL=		yes
INFO_FILES=		# PLIST
@


1.49
log
@Correct LICENSE, per PR 41943.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2009/05/19 08:59:11 wiz Exp $
d4 1
a4 1
DISTNAME=	readline-6.0
@


1.48
log
@Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2009/02/23 12:35:46 wiz Exp $
d14 1
a14 1
LICENSE=	gnu-gpl-v2
@


1.47
log
@Update to 6.0:

This is a terse description of the new features added to readline-6.0 since
the release of readline-5.2.

1.  New Features in Readline

a.  A new variable, rl_sort_completion_matches; allows applications to inhibit
    match list sorting (but beware: some things don't work right if
    applications do this).

b.  A new variable, rl_completion_invoking_key; allows applications to discover
    the key that invoked rl_complete or rl_menu_complete.

c.  The functions rl_block_sigint and rl_release_sigint are now public and
    available to calling applications who want to protect critical sections
    (like redisplay).

d.  The functions rl_save_state and rl_restore_state are now public and
    available to calling applications; documented rest of readline's state
    flag values.

e.  A new user-settable variable, `history-size', allows setting the maximum
    number of entries in the history list.

f.  There is a new implementation of menu completion, with several improvements
    over the old; the most notable improvement is a better `completions
    browsing' mode.

g.  The menu completion code now uses the rl_menu_completion_entry_function
    variable, allowing applications to provide their own menu completion
    generators.

h.  There is support for replacing a prefix  of a pathname with a `...' when
    displaying possible completions.  This is controllable by setting the
    `completion-prefix-display-length' variable.  Matches with a common prefix
    longer than this value have the common prefix replaced with `...'.

i.  There is a new `revert-all-at-newline' variable.  If enabled, readline will
    undo all outstanding changes to all history lines when `accept-line' is
    executed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2008/08/13 11:11:38 he Exp $
d14 1
a14 1
#LICENSE=	gnu-gpl-v2
@


1.46
log
@Update from version 5.2nb1 to 5.2nb2.

This imports some fixes from Debian.  First and foremost:

http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html

Bug-Description:

In some cases, code that is intended to be used in the presence of multibyte
characters is called when no such characters are present, leading to incorrect
display position calculations and incorrect redisplay.

http://lists.gnu.org/archive/html/bug-readline/2007-01/msg00002.html

Bug-Description:

Readline neglects to reallocate the array it uses to keep track of wrapped
screen lines when increasing its size.  This will eventually result in
segmentation faults when given sufficiently long input.

http://lists.gnu.org/archive/html/bug-bash/2007-02/msg00054.html

Bug-Description:

When moving the cursor, bash sometimes misplaces the cursor when the prompt
contains two or more multibyte characters.  The particular circumstance that
uncovered the problem was having the (multibyte) current directory name in
the prompt string.

...all related to display.c.  Also add include of <stdio.h> to
two of the readline header files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2008/03/02 07:07:43 jlam Exp $
d4 1
a4 2
DISTNAME=	readline-5.2
PKGREVISION=	2
@


1.45
log
@Remove unnecessary check for the TERMCAP_TYPE -- revision 1.2 of
termcap.buildlink3.mk will cause all termcap libraries other than the
one we specify to not be found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2008/02/29 22:41:13 jlam Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.44
log
@Rename termlib.* to termcap.* to better document exactly what packages
are trying to use (the termcap t*() API).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2008/02/27 18:16:37 jlam Exp $
a27 5

.if ${TERMCAP_TYPE} == "curses"
CONFIGURE_ARGS+=	--with-curses
.endif

@


1.43
log
@+ Teach the readline buildlink3.mk and builtin.mk files to determine
  the correct terminal library that must be linked along with -lreadline.
  On NetBSD, this is -ltermcap.  On Linux, this should be either -ltinfo
  or -lcurses.  On Solaris, this should be -lcurses.

+ Add a "termlib" dependency to the devel/readline package that allows
  for linking against -lcurses.  Bump the PKGREVISON to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2007/11/11 11:35:49 martti Exp $
d27 1
a27 1
.include "../../mk/termlib.buildlink3.mk"
d29 1
a29 1
.if ${TERMLIB_TYPE} == "curses"
@


1.42
log
@Added commented-out LICENSE=something.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2006/11/05 17:49:34 joerg Exp $
d5 1
d27 6
@


1.41
log
@DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2006/10/22 10:55:31 wiz Exp $
d14 1
@


1.40
log
@Update to 5.2:

1.  Changes to Readline

a.  Fixed a problem that caused segmentation faults when using readline in
    callback mode and typing consecutive DEL characters on an empty line.

b.  Fixed several redisplay problems with multibyte characters, all having to
    do with the different code paths and variable meanings between single-byte
    and multibyte character redisplay.

c.  Fixed a problem with key sequence translation when presented with the
    sequence \M-\C-x.

d.  Fixed a problem that prevented the `a' command in vi mode from being
    undone and redone properly.

e.  Fixed a problem that prevented empty inserts in vi mode from being undone
    properly.

f.  Fixed a problem that caused readline to initialize with an incorrect idea
    of whether or not the terminal can autowrap.

g.  Fixed output of key bindings (like bash `bind -p') to honor the setting of
    convert-meta and use \e where appropriate.

h.  Changed the default filename completion function to call the filename
    dequoting function if the directory completion hook isn't set.  This means
    that any directory completion hooks need to dequote the directory name,
    since application-specific hooks need to know how the word was quoted,
    even if no other changes are made.

i.  Fixed a bug with creating the prompt for a non-interactive search string
    when there are non-printing characters in the primary prompt.

j.  Fixed a bug that caused prompts with invisible characters to be redrawn
    multiple times in a multibyte locale.

k.  Fixed a bug that could cause the key sequence scanning code to return the
    wrong function.

l.  Fixed a problem with the callback interface that caused it to fail when
    using multi-character keyboard macros.

m.  Fixed a bug that could cause a core dump when an edited history entry was
    re-executed under certain conditions.

n.  Fixed a bug that caused readline to reference freed memory when attmpting
    to display a portion of the prompt.

o.  Fixed a bug with prompt redisplay in a multi-byte locale to avoid redrawing
    the prompt and input line multiple times.

p.  Fixed history expansion to not be confused by here-string redirection.

q.  Readline no longer treats read errors by converting them to newlines, as
    it does with EOF.  This caused partial lines to be returned from readline().

r.  Fixed a redisplay bug that occurred in multibyte-capable locales when the
    prompt was one character longer than the screen width.

2.  New Features in Readline

a.  Calling applications can now set the keyboard timeout to 0, allowing
    poll-like behavior.

b.  The value of SYS_INPUTRC (configurable at compilation time) is now used as
    the default last-ditch startup file.

c.  The history file reading functions now allow windows-like \r\n line
    terminators.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2006/03/30 03:44:43 jlam Exp $
d16 1
@


1.39
log
@* Honor PKGINFODIR.
* List the info files directly in the PLIST.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2006/03/04 21:29:29 jlam Exp $
d4 1
a4 3
DISTNAME=	readline-5.1
PKGNAME=	readline-5.1pl1
PKGREVISION=	1
d8 2
a9 2
PATCH_SITES=	${MASTER_SITE_GNU:=readline/readline-5.1-patches/}
PATCHFILES=	readline51-001
@


1.38
log
@Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2006/03/02 00:24:55 minskim Exp $
d21 1
a25 2
INFO_FILES=		history.info readline.info rluserman.info

@


1.37
log
@Link the readline library against the library that has the termcap
functions.  This corrects dependency_libs defined in libreadline.la.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2005/12/31 00:01:45 wiz Exp $
d13 1
a13 1
MAINTAINER=	tech-pkg@@NetBSD.org
@


1.36
log
@Update to 5.1:

This is a terse description of the new features added to readline-5.1 since
the release of readline-5.0.

1.  New Features in Readline

a.  The key sequence sent by the keypad `delete' key is now automatically
    bound to delete-char.

b.  A negative argument to menu-complete now cycles backward through the
    completion list.

c.  A new bindable readline variable:  bind-tty-special-chars.  If non-zero,
    readline will bind the terminal special characters to their readline
    equivalents when it's called (on by default).

d.  New bindable command: vi-rubout.  Saves deleted text for possible
    reinsertion, as with any vi-mode `text modification' command; `X' is bound
    to this in vi command mode.

e.  If the rl_completion_query_items is set to a value < 0, readline never
    asks the user whether or not to view the possible completions.

f.  New application-callable auxiliary function, rl_variable_value, returns
    a string corresponding to a readline variable's value.

g.  When parsing inputrc files and variable binding commands, the parser
    strips trailing whitespace from values assigned to boolean variables
    before checking them.

h.  A new external application-controllable variable that allows the LINES
    and COLUMNS environment variables to set the window size regardless of
    what the kernel returns.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2005/04/11 21:45:38 tv Exp $
d6 1
@


1.35
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2004/12/03 15:14:55 wiz Exp $
d4 2
a5 1
DISTNAME=	readline-5.0
d9 3
@


1.34
log
@Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2004/11/14 06:16:49 jlam Exp $
a13 1
USE_BUILDLINK3=		yes
@


1.33
log
@Update devel/readline to 5.0.  Changes from version 4.3 include:

* Improved compatibility with BSD csh modifiers.
* Improved vi editing mode.
* History files include timestamp information.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2004/10/03 00:13:33 tv Exp $
d18 1
a18 1
ALL_TARGET=		all-libtool
@


1.32
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2004/08/20 17:32:50 tv Exp $
d4 1
a4 3
DISTNAME=	readline-4.3
PKGNAME=	${DISTNAME}pl5
PKGREVISION=	2
a7 4
PATCH_SITES=	${MASTER_SITES:=${DISTNAME}-patches/}
PATCHFILES=	readline43-001 readline43-002 readline43-003 readline43-004 \
		readline43-005

d15 2
a16 2
GNU_CONFIGURE=		# defined
USE_LIBTOOL=		# defined
d18 2
a19 2
ALL_TARGET=		all-la
INSTALL_TARGET=		install-la
d21 1
a21 1
INFO_FILES=		readline.info history.info rluserman.info
@


1.31
log
@Use ${BSD_INSTALL_LIB} so the library is installed +x.  (Bump PKGREVISION;
this can be un-bumped if the patchlevel goes up again.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2004/03/23 04:41:00 jlam Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.30
log
@USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2004/01/05 11:19:13 jlam Exp $
d6 1
@


1.29
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2003/09/19 05:18:35 dent Exp $
d19 1
a19 1
USE_BUILDLINK3=		# defined
@


1.28
log
@update HOMEPAGE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2003/08/09 10:44:48 seb Exp $
d17 3
a19 1
USE_BUILDLINK2=		# defined
@


1.27
log
@USE_NEW_TEXINFO is unnecessary now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2003/07/17 21:33:35 grant Exp $
d14 1
a14 1
HOMEPAGE=	http://www.gnu.org/software/readline/
@


1.26
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2003/06/30 10:26:45 uebayasi Exp $
a23 1
USE_NEW_TEXINFO=	YES
@


1.25
log
@Update to 4.3pl5.  Incorporate 5 official patches.

[readline43-001]
Pressing certain key sequences causes an infinite loop in _rl_dispatch_subseq
with the `key' argument set to 256.  This eventually causes bash to exceed
the stack size limit and crash with a segmentation violation.

[readline43-002]
Repeating an edit in vi-mode with `.' does not work.

[readline43-003]
When in a locale with multibyte characters, the readline display updater
will occasionally cause a segmentation fault when attempting to compute
the length of the first multibyte character on the line.

[readline43-004]
When running in a locale with multibyte characters, the readline display
updater will use carriage returns when drawing the line, overwriting any
partial output already on the screen and not terminated by a newline.

[readline43-005]
Using the vi editing mode's case-changing commands in a locale with
multibyte characters will cause garbage characters to be inserted into
the editing buffer.

(Any maintainership taker?)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2003/06/25 11:32:38 seb Exp $
d13 1
a13 1
MAINTAINER=	tech-pkg@@netbsd.org
@


1.24
log
@Convert to USE_NEW_TEXINFO.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2003/06/02 01:20:15 jschauma Exp $
d5 1
d8 4
@


1.23
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2002/12/07 17:39:47 jmmv Exp $
d19 1
a21 1
.include "../../mk/texinfo.mk"
@


1.22
log
@Update readline to 4.3.
Changes in this version are mostly bugfixes; some new functionality
has been added as well. For an exhaustive list of changes, please
look at the CHANGES file included in the distribution.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2002/08/25 18:38:45 jlam Exp $
d8 1
a8 1
MAINTAINER=	packages@@netbsd.org
@


1.21
log
@Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20.2.2 2002/06/21 23:05:10 jlam Exp $
d4 1
a4 1
DISTNAME=	readline-4.2
d19 1
a19 1
INFO_FILES=		readline.info history.info
@


1.20
log
@Introduce new framework for handling info files generation and installation.

Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2001/08/06 14:20:46 jlam Exp $
d12 1
a12 1
USE_BUILDLINK_ONLY=	# defined
a19 13

# Remove -I$(includedir) from the INCLUDES passed to the compiler as this
# defeats buildlink.
#
post-patch:
	cd ${WRKSRC};							\
	files="Makefile.in";						\
	for file in $${files}; do					\
		${MV} -f $${file} $${file}.fixme;			\
		${SED} -e "s|[  ]*-I\$$(includedir)||"			\
			$${file}.fixme > $${file};			\
		${RM} $${file}.fixme;					\
	done
@


1.20.2.1
log
@First pass at conversion of various packages to use the buildlink2
framework.  Add many buildlink2.mk files to add to the framework.  Please
see buildlink2.txt for more details.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2002/02/18 15:14:15 seb Exp $
d12 1
a12 1
USE_BUILDLINK2_ONLY=	# defined
d20 13
@


1.20.2.2
log
@Rename USE_BUILDLINK2_ONLY to USE_BUILDLINK2 for less verbosity.  Also
convert a few more packages to use the buildlink2 framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20.2.1 2002/05/11 02:09:06 jlam Exp $
d12 1
a12 1
USE_BUILDLINK2=		# defined
@


1.19
log
@Update readline to 4.2.  Major changes from version 4.1:

*   bug fixes
*   improve linking with C++ code
+   a new file, rltypedefs.h, contains the new typedefs for function pointers
+   several minor additions to the API to customize look of readline
+   more complete documentation for public functions and variables
@
text
@d1 1
a1 1
# $NetBSD$
d34 1
@


1.18
log
@Mark as USE_BUIDLINK_ONLY and remove -I$(includedir) from the header
search path.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2001/02/16 14:39:00 wiz Exp $
d4 1
a4 1
DISTNAME=	readline-4.1
d10 1
a10 1
COMMENT=	GNU library which can recall and edit previous input
d12 1
a14 2
USE_GTEXINFO=		# defined
USE_BUILDLINK_ONLY=	# defined
d16 2
a17 2
READLINE_MAJOR=		4
READLINE_MINOR=		1
d19 1
a19 2
MAKE_ENV+=	READLINE_MAJOR=${READLINE_MAJOR}
MAKE_ENV+=	READLINE_MINOR=${READLINE_MINOR}
d21 12
a32 5
PLIST_SUBST+=	READLINE_MAJOR=${READLINE_MAJOR}
PLIST_SUBST+=	READLINE_MINOR=${READLINE_MINOR}

ALL_TARGET=	all documentation
INFO_FILES=	readline.info history.info
@


1.17
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2000/07/19 09:31:44 jlam Exp $
d12 4
a15 3
GNU_CONFIGURE=	# defined
USE_LIBTOOL=	# defined
USE_GTEXINFO=	# defined
d17 2
a18 2
READLINE_MAJOR=	4
READLINE_MINOR=	1
@


1.16
log
@Update readline to 4.1.  Closes PR#10615 by Damon Brodie.
Relevant changes from 4.0:

e.  The history library tries to truncate the history file only if it is a
    regular file.
f.  A bug that caused _rl_dispatch to address negative array indices on
    systems with signed chars was fixed.
g.  rl-yank-nth-arg now leaves the history position the same as when it was
    called.
m.  The quoted-insert code will now insert tty special chars like ^C.
n.  A bug was fixed that caused the display code to reference memory before
    the start of the prompt string.
p.  A bug was fixed in readline's signal handling that could cause infinite
    recursion in signal handlers.
q.  A bug was fixed that caused the point to be less than zero when rl_forward
    was given a very large numeric argument.
r.  The vi-mode code now gets characters via the application-settable value
    of rl_getc_function rather than calling rl_getc directly.
t.  Fixed a bug in the redisplay code for lines with more than 256 line
    breaks.
u.  A bug was fixed which caused invisible character markers to not be
    stripped from the prompt string if the terminal was in no-echo mode.
v.  Readline no longer tries to get the variables it needs for redisplay
    from the termcap entry if the calling application has specified its
    own redisplay function.  Readline treats the terminal as `dumb' in
    this case.
w.  Fixes to the SIGWINCH code so that a multiple-line prompt with escape
    sequences is redrawn correctly.
b.  Parentheses matching is now always compiled into readline, and enabled
    or disabled when the value of the `blink-matching-paren' variable is
    changed.
e.  history-search-{forward,backward} now leave the point at the end of the
    line when the string to search for is empty, like
    {reverse,forward}-search-history.
f.  history-search-{forward,backward} now leave the last history line found
    in the readline buffer if the second or subsequent search fails.
g.  New function for use by applications:  rl_on_new_line_with_prompt, used
    when an application displays the prompt itself before calling readline().
h.  New variable for use by applications:  rl_already_prompted.  An application
    that displays the prompt itself before calling readline() must set this to
    a non-zero value.
i.  A new variable, rl_gnu_readline_p, always 1.  The intent is that an
    application can verify whether or not it is linked with the `real'
    readline library or some substitute.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2000/06/09 07:06:34 jlam Exp $
d10 1
@


1.15
log
@USE_LIBTOOL instead of pkglibtool.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2000/06/01 11:23:24 rh Exp $
d4 1
a4 1
DISTNAME=	readline-4.0
d14 9
a22 1
MAKE_ENV+=	READLINE_MAJOR=4 READLINE_MINOR=0
d25 1
@


1.14
log
@s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 1999/07/13 00:56:12 jlam Exp $
d11 3
a13 3
GNU_CONFIGURE=	yes
USE_PKGLIBTOOL=	yes
USE_GTEXINFO=	yes
@


1.13
log
@    * Update "devel/readline" to 4.0.
    * Libtoolize library build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 1999/04/14 21:39:03 tron Exp $
d12 1
a12 1
USE_LIBTOOL=	yes
@


1.12
log
@Remove unnecessary slash from master site list.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 1999/03/22 16:08:32 bad Exp $
d4 1
a4 1
DISTNAME=	readline-2.2
d9 1
d12 1
d14 1
d16 1
a16 5
SCRIPTS_ENV+=	PLIST_SRC="${PLIST_SRC}"

do-build:
	(cd ${WRKSRC}; ${MAKE} LIB=readline)
	(cd ${WRKSRC}; ${MAKE} LIB=history)
@


1.11
log
@Catch up with MASTER_SITE_GNU reorganization.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 1999/03/08 10:53:56 agc Exp $
d6 1
a6 1
MASTER_SITES=	${MASTER_SITE_GNU:=/readline/}
@


1.10
log
@s/make/${MAKE}/g
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1998/07/14 15:55:38 agc Exp $
d6 1
a6 1
MASTER_SITES=	${MASTER_SITE_GNU}
@


1.9
log
@Use automatic shared object handling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1998/06/22 11:27:50 agc Exp $
d16 2
a17 2
	(cd ${WRKSRC}; make LIB=readline)
	(cd ${WRKSRC}; make LIB=history)
@


1.8
log
@Update package Makefiles for automatic manual page handling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1998/04/21 08:36:12 hubertf Exp $
a17 3

post-install:
	${LDCONFIG} || ${TRUE}
@


1.7
log
@Update to V2.2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1998/04/17 09:37:24 agc Exp $
a11 2

MAN3=		readline.3
@


1.6
log
@Introduce USE_GTEXINFO and INFO_FILES definitions to bsd.pkg.mk, and use them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/04/15 10:38:21 agc Exp $
d4 1
a4 1
DISTNAME=	readline-2.1
d22 1
a22 1
	@@${LDCONFIG} || ${TRUE}
@


1.5
log
@Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/03/28 21:24:40 frueauf Exp $
a9 3
BUILD_DEPENDS=	${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
RUN_DEPENDS=    ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo

d11 1
@


1.4
log
@portlint: use ${VARIABLE}, instead of $(VARIABLE); ldconfig->${LDCONFIG};
	  true->${TRUE}.
@
text
@d1 1
a1 6
# New ports collection makefile for:	readline
# Version required:    			2.1
# Date created:        			Fri Mar  6 19:07:28 GMT 1998
# Whom:                			Alistair Crooks (agc@@netbsd.org)
#
# $NetBSD: Makefile,v 1.3 1998/03/19 13:02:19 agc Exp $
d26 1
a26 1
.include <bsd.port.mk>
@


1.3
log
@Jaromir Dolecek's readline package (PR 4915) is better than the one
in tree, so take the necessary elements from Jaromir's package:

+ build and install libhistory

+ build and install shared history and readline libraries.

+ install readline and history info pages with the correct names

Preserve change from the original package:

+ don't assume that the Makefile SHELL is Bourne shell - set it
explicitly, so that Bourne shell scripts aren't run by the csh(1)
@
text
@d6 1
a6 1
# $NetBSD: Makefile,v 1.2 1998/03/10 13:47:35 frueauf Exp $
d22 1
a22 1
SCRIPTS_ENV+=	PLIST_SRC="$(PLIST_SRC)"
d29 1
a29 1
	@@/sbin/ldconfig || /usr/bin/true
@


1.2
log
@portlint: add default MAINTAINER.
@
text
@d6 1
a6 1
# $NetBSD: Makefile,v 1.1 1998/03/08 01:40:39 agc Exp $
d16 1
d22 6
d29 1
a29 1
	@@install-info ${PREFIX}/info/readline.info ${PREFIX}/info/dir
@


1.1
log
@Initial import of the GNU readline library (version 2.1) into the
NetBSD packages collection.  This is because some other packages play
dirty and muck about with the internals of the readline structures, so
our libedit-based emulation won't suffice for that.  A pity.
@
text
@d6 1
a6 1
# $NetBSD$
d12 2
@
