1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Command line editor library
9 HOMEPAGE= http://thrysoee.dk/editline/
13 SITES[main]= http://thrysoee.dk/editline/
14 DISTFILE[1]= libedit-20191231-3.1.tar.gz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 B_DEPS[sunos]= libbsd4sol:single:standard
25 LICENSE= BSD3CLAUSE:single
26 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING
30 CONFIGURE_ARGS= --enable-widec
32 INSTALL_TARGET= install-strip
35 CPPFLAGS= -I{{NCURSESINC}}
36 LDFLAGS= -L{{NCURSESLIB}}
37 VAR_OPSYS[sunos]= LDFLAGS=-lbsd
38 CFLAGS=-I{{PREFIX}}/include/bsd
39 CONFIGURE_ARGS=ac_cv_func_getline=yes
42 ${REINPLACE_CMD} -e '/EXAMPLES_DIR =/d' ${WRKSRC}/Makefile.in
43 ${REINPLACE_CMD} -e 's|LIBS="-lncurses |LIBS="-lncurses -ltinfo |'\
47 ${MV} ${STAGEDIR}${MANPREFIX}/man/man3/history.3 \
48 ${STAGEDIR}${MANPREFIX}/man/man3/el_history.3
50 [FILE:249:descriptions/desc.single]
51 This is an autotool- and libtoolized port of the NetBSD Editline library
52 (libedit). This Berkeley-style licensed command line editor library
53 provides generic line editing, history, and tokenization functions,
54 similar to those found in GNU Readline.
58 dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071 516801 libedit-20191231-3.1.tar.gz
61 [FILE:869:manifests/plist.single]
63 include/editline/readline.h
67 libedit.so.%%SOMAJOR%%
68 libedit.so.%%SOVERSION%%
69 lib/pkgconfig/libedit.pc
112 share/man/man5/editrc.5.gz
113 share/man/man7/editline.7.gz
116 [FILE:372:patches/patch-src_chartype.h]
117 --- src/chartype.h.orig 2019-10-25 20:12:05 UTC
120 /* In many places it is assumed that the first 127 code points are ASCII
121 * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
122 * funky encoding that could break us in weird and wonderful ways. */
123 - #error wchar_t must store ISO 10646 characters
129 [FILE:780:patches/patch-src_sys.h]
130 --- src/sys.h.orig 2018-05-25 17:50:45 UTC
133 #include <sys/cdefs.h>
137 +#include <sys/types.h>
140 #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
141 # define __attribute__(A)
143 @@ -115,13 +119,4 @@ typedef unsigned int u_int32_t;
144 #define REGEX /* Use POSIX.2 regular expression functions */
145 #undef REGEXP /* Use UNIX V8 regular expression functions */
148 -extern int tgetent(char *, const char *);
149 -extern int tgetflag(char *);
150 -extern int tgetnum(char *);
151 -extern int tputs(const char *, int, int (*)(int));
152 -extern char* tgoto(const char*, int, int);
153 -extern char* tgetstr(char*, char**);
159 [FILE:529:patches/patch-src_terminal.h]
160 --- src/terminal.h.orig 2018-05-25 17:50:45 UTC
162 @@ -80,14 +80,6 @@ typedef struct {
167 -extern int tgetent(char *, const char *);
168 -extern int tgetflag(char *);
169 -extern int tgetnum(char *);
170 -extern int tputs(const char *, int, int (*)(int));
171 -extern char* tgoto(const char*, int, int);
172 -extern char* tgetstr(char*, char**);
175 libedit_private void terminal_move_to_line(EditLine *, int);
176 libedit_private void terminal_move_to_char(EditLine *, int);