# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= libedit VERSION= 20170329-3.1 KEYWORDS= devel VARIANTS= standard SDESC[standard]= Command line editor library HOMEPAGE= http://thrysoee.dk/editline/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://thrysoee.dk/editline/ DISTFILE[1]= libedit-20170329-3.1.tar.gz:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= libtool ncurses MUST_CONFIGURE= gnu CONFIGURE_ARGS= --enable-widec INSTALL_TARGET= install-strip CPPFLAGS= -I{{NCURSESINC}} LDFLAGS= -L{{NCURSESLIB}} post-patch: ${REINPLACE_CMD} -e '/EXAMPLES_DIR =/d' ${WRKSRC}/Makefile.in post-install: ${MV} ${STAGEDIR}${MANPREFIX}/man/man3/history.3 \ ${STAGEDIR}${MANPREFIX}/man/man3/el_history.3 post-patch-sunos: ${REINPLACE_CMD} -e 's|LIBS="-lncurses |LIBS="-lncurses -ltinfo |'\ ${WRKSRC}/configure [FILE:249:descriptions/desc.single] This is an autotool- and libtoolized port of the NetBSD Editline library (libedit). This Berkeley-style licensed command line editor library provides generic line editing, history, and tokenization functions, similar to those found in GNU Readline. [FILE:106:distinfo] 91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be 508504 libedit-20170329-3.1.tar.gz [FILE:852:manifests/plist.single] include/editline/readline.h include/histedit.h lib/ libedit.a libedit.so libedit.so.0 libedit.so.0.0.56 lib/pkgconfig/libedit.pc share/man/man3/ editline.3.gz el_deletestr.3.gz el_end.3.gz el_get.3.gz el_getc.3.gz el_gets.3.gz el_init.3.gz el_init_fd.3.gz el_insertstr.3.gz el_line.3.gz el_parse.3.gz el_push.3.gz el_reset.3.gz el_resize.3.gz el_set.3.gz el_source.3.gz el_wdeletestr.3.gz el_wget.3.gz el_wgetc.3.gz el_wgets.3.gz el_winsertstr.3.gz el_wline.3.gz el_wparse.3.gz el_wpush.3.gz el_wset.3.gz el_history.3.gz history_end.3.gz history_init.3.gz history_w.3.gz history_wend.3.gz history_winit.3.gz tok_end.3.gz tok_init.3.gz tok_line.3.gz tok_reset.3.gz tok_str.3.gz tok_wend.3.gz tok_winit.3.gz tok_wline.3.gz tok_wreset.3.gz tok_wstr.3.gz share/man/man5/editrc.5.gz share/man/man7/editline.7.gz [FILE:813:patches/patch-src_chartype.h] --- src/chartype.h.orig 2017-03-29 18:08:21 UTC +++ src/chartype.h @@ -33,14 +33,6 @@ * supports non-BMP code points without requiring UTF-16, but nothing * seems to actually advertise this properly, despite Unicode 3.1 having * been around since 2001... */ -#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__) -#ifndef __STDC_ISO_10646__ -/* In many places it is assumed that the first 127 code points are ASCII - * compatible, so ensure wchar_t indeed does ISO 10646 and not some other - * funky encoding that could break us in weird and wonderful ways. */ - #error wchar_t must store ISO 10646 characters -#endif -#endif /* Oh for a with char32_t and __STDC_UTF_32__ in it... * ref: ISO/IEC DTR 19769 [FILE:780:patches/patch-src_sys.h] --- src/sys.h.orig 2017-03-29 18:08:21 UTC +++ src/sys.h @@ -44,6 +44,10 @@ #include #endif +#ifdef __sun__ +#include +#endif + #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8) # define __attribute__(A) #endif @@ -115,13 +119,4 @@ typedef unsigned int u_int32_t; #define REGEX /* Use POSIX.2 regular expression functions */ #undef REGEXP /* Use UNIX V8 regular expression functions */ -#if defined(__sun) -extern int tgetent(char *, const char *); -extern int tgetflag(char *); -extern int tgetnum(char *); -extern int tputs(const char *, int, int (*)(int)); -extern char* tgoto(const char*, int, int); -extern char* tgetstr(char*, char**); -#endif - #endif /* _h_sys */ [FILE:529:patches/patch-src_terminal.h] --- src/terminal.h.orig 2017-03-29 18:08:21 UTC +++ src/terminal.h @@ -80,14 +80,6 @@ typedef struct { #define A_K_DE 6 #define A_K_NKEYS 7 -#ifdef __sun -extern int tgetent(char *, const char *); -extern int tgetflag(char *); -extern int tgetnum(char *); -extern int tputs(const char *, int, int (*)(int)); -extern char* tgoto(const char*, int, int); -extern char* tgetstr(char*, char**); -#endif libedit_private void terminal_move_to_line(EditLine *, int); libedit_private void terminal_move_to_char(EditLine *, int);