1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Berkeley nvi with additional features
13 SITES[main]= http://ravenports.elderlinux.org/distcache/
14 DISTFILE[1]= nvi-1.81.6.tar.bz2:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 USES= bdb:build iconv:build libtool ncurses:build
24 FPC_EQUIVALENT= editors/nvi2
27 CONFIGURE_OUTSOURCE= yes
28 CONFIGURE_WRKSRC= {{WRKSRC}}/build_unix
29 CONFIGURE_SCRIPT= dist/configure
30 CONFIGURE_ARGS= --program-prefix=n
33 --with-curses={{NCURSESBASE}}
35 CPPFLAGS= -I{{NCURSESINC}}
36 LDFLAGS= -L{{NCURSESLIB}}
37 VAR_OPSYS[sunos]= CONFIGURE_ENV=LIBS="-lrt -lsocket"
40 ${RM} -r ${STAGEDIR}${MANPREFIX}/man/cat1
43 ${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \
44 ${WRKSRC}/dist/Makefile.in
47 # disable shared iconv and ncurses
48 ${RM} ${LOCALBASE}/lib/libiconv.so
49 ${RM} ${LOCALBASE}/lib/libncurses.so
50 ${RM} ${LOCALBASE}/lib/libtinfo.so
51 ${RM} ${LOCALBASE}/lib/db5/libdb.so
53 [FILE:258:descriptions/desc.single]
54 Nvi is an implementation of the ex/vi text editor originally distributed
55 as part of the Fourth Berkeley Software Distribution (4BSD), by the
56 University of California, Berkeley. The source code to nvi is freely
57 available, and nvi may be freely redistributed.
61 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59 1758309 nvi-1.81.6.tar.bz2
64 [FILE:290:manifests/plist.single]
95 [FILE:253:patches/patch-cl_cl__funcs.c]
96 --- cl/cl_funcs.c.orig 2007-11-18 16:41:42 UTC
98 @@ -18,6 +18,7 @@ static const char sccsid[] = "$Id: cl_fu
101 #include <bitstring.h>
108 [FILE:256:patches/patch-cl_cl__screen.c]
109 --- cl/cl_screen.c.orig 2007-11-18 16:41:42 UTC
111 @@ -17,6 +17,7 @@ static const char sccsid[] = "$Id: cl_sc
112 #include <sys/queue.h>
114 #include <bitstring.h>
121 [FILE:349:patches/patch-dist_config.h]
122 --- dist/config.h.in- Fri May 9 12:50:29 2003
123 +++ dist/config.h.in Fri May 9 12:50:56 2003
125 /* Define if you have <sys/select.h> */
126 #undef HAVE_SYS_SELECT_H
128 -/* Define if you have the System V style pty calls. */
129 -#undef HAVE_SYS5_PTY
131 /* Define if you want to compile in the Tcl interpreter. */
132 #undef HAVE_TCL_INTERP
136 [FILE:1721:patches/patch-dist_configure]
137 --- dist/configure.orig 2007-11-18 16:43:54 UTC
139 @@ -21142,7 +21142,7 @@
140 echo "${ECHO_T}$vi_cv_runpath" >&6; }
142 if test "X$vi_cv_runpath" = "Xyes"; then
143 - LRscript='s/^\(.*\)/-R\1 -L\1 /'
144 + LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /'
146 LRscript='s/^\(.*\)/-L\1 /'
148 @@ -23510,7 +23510,7 @@
149 CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS"
151 if test "$vi_cv_widechar" = "yes"; then
152 - for vi_cv_curses in ncurses ncursesw curses; do
153 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow" curses; do
154 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh`
155 { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5
156 echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; }
157 @@ -23581,7 +23581,7 @@
161 - for vi_cv_curses in ncurses ncursesw curses; do
162 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow" curses; do
163 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh`
164 { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5
165 echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; }
166 @@ -27631,6 +27631,8 @@
167 cat confdefs.h >>conftest.$ac_ext
168 cat >>conftest.$ac_ext <<_ACEOF
169 /* end confdefs.h. */
172 main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
174 rm -f conftest$ac_exeext
175 @@ -28624,7 +28626,7 @@
176 cat >>conftest.$ac_ext <<_ACEOF
177 /* end confdefs.h. */
184 @@ -28767,6 +28769,7 @@
185 cat confdefs.h >>conftest.$ac_ext
186 cat >>conftest.$ac_ext <<_ACEOF
187 /* end confdefs.h. */