Commit graph

140 commits

Author SHA1 Message Date
jlam
7e12d8528b Add a target to generate a libtool archive file for libedit. 2001-05-29 18:00:05 +00:00
jlam
da4256c3ee No functional change...just simplify the code. 2001-05-26 07:33:57 +00:00
jlam
20edd3082f Protect against multiple inclusion. 2001-05-26 05:44:09 +00:00
jlam
e1fc187824 No functional changes, only slight recoding to make it easier to cut-and-
paste into new buildlink.mk files.
2001-05-25 04:49:15 +00:00
jlam
d1c6bb07b5 Make instructions for use more explicit, and correct a typo in the
comments (WRKSRC should be WRKDIR).
2001-05-24 08:58:24 +00:00
jlam
54718a4db7 Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers
and libraries.  Create a variable BUILDLINK_TARGETS whose value is the
list of build-link targets to execute.
2001-05-24 08:53:54 +00:00
jlam
d97bb82a1d Tell the user when we're linking the readline files. 2001-05-22 16:46:37 +00:00
jlam
a01649af1c Use READLINE_REQD for required version of GNU readline, and use
USE_GNU_READLINE to force the use of GNU readline over editline's
readline emulation.
2001-05-22 05:57:04 +00:00
jlam
2b1572b5ee Fix this up so it actually works (tested with www/cadaver) on installations
without readline emulation in the base system.
2001-05-16 05:05:48 +00:00
jlam
39e4577f8c Add a Makefile.readline (copied from databases/postgresql) that is intended
to be usable by packages that use readline() functionality:

# If readline() is not present in the base system through libedit, then a
# dependency on devel/readline is added, the appropriate headers are linked
# into ${WRKINCDIR} (${WRKSRC}/include), and the appropriate libraries are
# linked into ${WRKLIBDIR} (${WRKSRC}/lib).
2001-05-16 04:39:12 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
5092342d3d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:56:50 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
jlam
5dd380774f 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.
2000-07-19 09:31:44 +00:00
jlam
3fa889bd4a USE_LIBTOOL instead of pkglibtool. 2000-06-09 07:06:34 +00:00
rh
74add3b300 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.
2000-06-01 11:23:11 +00:00
agc
682ae23548 Remove patch-aj, which creates an rlman.texinfo file, which already
exists in the distribution. Update patch-sum file accordingly.
1999-07-26 15:12:23 +00:00
jlam
6b79251d17 * Update "devel/readline" to 4.0.
* Libtoolize library build.
1999-07-13 00:56:12 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tron
9c4c0c2b50 Remove unnecessary slash from master site list. 1999-04-14 21:39:01 +00:00
bad
fa9c2f3760 Catch up with MASTER_SITE_GNU reorganization. 1999-03-22 16:08:30 +00:00
agc
9d1623c92c s/make/${MAKE}/g 1999-03-08 14:26:13 +00:00
agc
1bb3007c04 s/make/${MAKE}/g 1999-03-08 10:53:55 +00:00
sommerfe
4d54e8c85d Fix for arm (and anywhere else chars are unsigned by default)
(should not cause problems on systems with signed chars.)
1999-02-23 18:56:59 +00:00
tv
111c4f44b0 Use install-info in $PATH, so that systems with it in base will work too. 1999-02-11 19:17:28 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
agc
6da110286c Make it safe to use the readline library in C++ programs. 1998-07-24 08:56:18 +00:00
agc
ac1591c0d0 Use an ``extern "C"'' style block in case the history.h file is included
in a C++ application.
1998-07-23 12:10:14 +00:00
agc
6c9f24c0c1 Use automatic shared object handling. 1998-07-14 15:55:38 +00:00
frueauf
46c3219ef7 This patch is no longer needed as the direntries are already in the orig files. 1998-07-02 14:01:46 +00:00
agc
8157ff7bcf Update package Makefiles for automatic manual page handling. 1998-06-22 11:19:40 +00:00
hubertf
cd7d51ee24 Update to V2.2 1998-04-21 08:36:12 +00:00
agc
5201e68497 Introduce USE_GTEXINFO and INFO_FILES definitions to bsd.pkg.mk, and use them. 1998-04-17 09:37:21 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
frueauf
9174075412 portlint: use ${VARIABLE}, instead of $(VARIABLE); ldconfig->${LDCONFIG};
true->${TRUE}.
1998-03-28 21:24:40 +00:00
agc
9f1bce34f5 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)
1998-03-19 13:02:19 +00:00
frueauf
7566535e2c portlint: add default MAINTAINER. 1998-03-10 13:47:35 +00:00
agc
528bc18ca5 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.
1998-03-08 01:40:39 +00:00