# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= nvi VERSION= 1.81.6 REVISION= 2 KEYWORDS= editors VARIANTS= standard SDESC[standard]= Berkeley nvi with additional features HOMEPAGE= none CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://ravenports.elderlinux.org/distcache/ DISTFILE[1]= nvi-1.81.6.tar.bz2:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= db4:dev:standard USES= iconv:build libtool ncurses:build pkgconfig MUST_CONFIGURE= gnu CONFIGURE_OUTSOURCE= yes CONFIGURE_WRKSRC= {{WRKSRC}}/build_unix CONFIGURE_SCRIPT= dist/configure CONFIGURE_ARGS= --program-prefix=n --enable-widechar --enable-shared=no --with-db=system --with-db-prefix={{LOCALBASE}}/db4 --with-curses={{NCURSESBASE}} CPPFLAGS= -I{{NCURSESINC}} LDFLAGS= -L{{NCURSESLIB}} VAR_OPSYS[sunos]= CONFIGURE_ENV=LIBS="-lrt -lsocket" post-install: ${RM} -r ${STAGEDIR}${MANPREFIX}/man/cat1 pre-configure: ${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \ ${WRKSRC}/dist/Makefile.in post-extract: # disable shared iconv and ncurses ${RM} ${LOCALBASE}/lib/libiconv.so ${RM} ${LOCALBASE}/lib/libncurses.so ${RM} ${LOCALBASE}/lib/libtinfo.so ${RM} ${LOCALBASE}/db4/lib/libdb.so [FILE:258:descriptions/desc.single] Nvi is an implementation of the ex/vi text editor originally distributed as part of the Fourth Berkeley Software Distribution (4BSD), by the University of California, Berkeley. The source code to nvi is freely available, and nvi may be freely redistributed. [FILE:97:distinfo] 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59 1758309 nvi-1.81.6.tar.bz2 [FILE:290:manifests/plist.single] bin/ nex nvi nview lib/libvi.a share/man/man1/ nex.1.gz nvi.1.gz nview.1.gz share/vi/recover share/vi/catalog/ dutch english french german ru_SU.KOI8-R spanish swedish share/vi/perl/ forall.pl make.pl tk.pl wc.pl share/vi/tcl/ errors.tcl gnats.tcl mailprocs.tcl wc.tcl [FILE:253:patches/patch-cl_cl__funcs.c] --- cl/cl_funcs.c.orig 2007-11-18 16:41:42 UTC +++ cl/cl_funcs.c @@ -18,6 +18,7 @@ static const char sccsid[] = "$Id: cl_fu #include #include +#include #include #include #include [FILE:256:patches/patch-cl_cl__screen.c] --- cl/cl_screen.c.orig 2007-11-18 16:41:42 UTC +++ cl/cl_screen.c @@ -17,6 +17,7 @@ static const char sccsid[] = "$Id: cl_sc #include #include +#include #include #include #include [FILE:349:patches/patch-dist_config.h] --- dist/config.h.in- Fri May 9 12:50:29 2003 +++ dist/config.h.in Fri May 9 12:50:56 2003 @@ -103,9 +103,6 @@ /* Define if you have */ #undef HAVE_SYS_SELECT_H -/* Define if you have the System V style pty calls. */ -#undef HAVE_SYS5_PTY - /* Define if you want to compile in the Tcl interpreter. */ #undef HAVE_TCL_INTERP [FILE:1738:patches/patch-dist_configure] --- dist/configure.orig 2007-11-18 16:43:54 UTC +++ dist/configure @@ -21142,7 +21142,7 @@ fi echo "${ECHO_T}$vi_cv_runpath" >&6; } if test "X$vi_cv_runpath" = "Xyes"; then - LRscript='s/^\(.*\)/-R\1 -L\1 /' + LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /' else LRscript='s/^\(.*\)/-L\1 /' fi @@ -23510,7 +23510,7 @@ fi CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS" if test "$vi_cv_widechar" = "yes"; then - for vi_cv_curses in ncurses ncursesw curses; do + for vi_cv_curses in "ncurses -ltinfo" curses; do as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh` { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5 echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; } @@ -23581,7 +23581,7 @@ fi vi_cv_curses=unknown done else - for vi_cv_curses in ncurses ncursesw curses; do + for vi_cv_curses in "ncurses -ltinfo" curses; do as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh` { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5 echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; } @@ -27631,6 +27631,8 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include +#include main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);} _ACEOF rm -f conftest$ac_exeext @@ -28624,7 +28626,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include -int fprintf (); +/*int fprintf ();*/ int main () @@ -28767,6 +28769,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include #include int main ()