1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Berkeley nvi with additional features
12 SITES[main]= http://ravenports.elderlinux.org/distcache/
13 DISTFILE[1]= nvi-1.81.6.tar.bz2:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 USES= bdb:static iconv:build libtool ncurses:static
23 FPC_EQUIVALENT= editors/nvi2
26 CONFIGURE_OUTSOURCE= yes
27 CONFIGURE_WRKSRC= {{WRKSRC}}/build_unix
28 CONFIGURE_SCRIPT= dist/configure
29 CONFIGURE_ARGS= --with-db-prefix={{LOCALBASE}}
33 --with-curses={{NCURSESBASE}}
35 CPPFLAGS= -I{{NCURSESINC}}
36 LDFLAGS= -L{{NCURSESLIB}}
37 VAR_OPSYS[sunos]= CONFIGURE_ENV=LIBS="-lrt -lsocket"
40 ${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \
41 ${WRKSRC}/dist/Makefile.in
42 ${REINPLACE_CMD} -e 's,-ldb,-l${BDB_LIB_NAME} -lpthread,g' \
43 ${WRKSRC}/dist/configure
46 ${RM} -r ${STAGEDIR}${MANPREFIX}/man/cat1
48 [FILE:258:descriptions/desc.single]
49 Nvi is an implementation of the ex/vi text editor originally distributed
50 as part of the Fourth Berkeley Software Distribution (4BSD), by the
51 University of California, Berkeley. The source code to nvi is freely
52 available, and nvi may be freely redistributed.
56 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59 1758309 nvi-1.81.6.tar.bz2
59 [FILE:290:manifests/plist.single]
90 [FILE:253:patches/patch-cl_cl__funcs.c]
91 --- cl/cl_funcs.c.orig 2007-11-18 16:41:42 UTC
93 @@ -18,6 +18,7 @@ static const char sccsid[] = "$Id: cl_fu
96 #include <bitstring.h>
103 [FILE:256:patches/patch-cl_cl__screen.c]
104 --- cl/cl_screen.c.orig 2007-11-18 16:41:42 UTC
106 @@ -17,6 +17,7 @@ static const char sccsid[] = "$Id: cl_sc
107 #include <sys/queue.h>
109 #include <bitstring.h>
116 [FILE:349:patches/patch-dist_config.h]
117 --- dist/config.h.in- Fri May 9 12:50:29 2003
118 +++ dist/config.h.in Fri May 9 12:50:56 2003
120 /* Define if you have <sys/select.h> */
121 #undef HAVE_SYS_SELECT_H
123 -/* Define if you have the System V style pty calls. */
124 -#undef HAVE_SYS5_PTY
126 /* Define if you want to compile in the Tcl interpreter. */
127 #undef HAVE_TCL_INTERP
131 [FILE:1731:patches/patch-dist_configure]
132 --- dist/configure.orig 2007-11-18 16:43:54 UTC
134 @@ -21142,7 +21142,7 @@
135 echo "${ECHO_T}$vi_cv_runpath" >&6; }
137 if test "X$vi_cv_runpath" = "Xyes"; then
138 - LRscript='s/^\(.*\)/-R\1 -L\1 /'
139 + LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /'
141 LRscript='s/^\(.*\)/-L\1 /'
143 @@ -23510,7 +23510,7 @@
144 CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS"
146 if test "$vi_cv_widechar" = "yes"; then
147 - for vi_cv_curses in ncurses ncursesw curses; do
148 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow -ldb" curses; do
149 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh`
150 { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5
151 echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; }
152 @@ -23581,7 +23581,7 @@
156 - for vi_cv_curses in ncurses ncursesw curses; do
157 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow -ldb" curses; do
158 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh`
159 { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5
160 echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; }
161 @@ -27631,6 +27631,8 @@
162 cat confdefs.h >>conftest.$ac_ext
163 cat >>conftest.$ac_ext <<_ACEOF
164 /* end confdefs.h. */
167 main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
169 rm -f conftest$ac_exeext
170 @@ -28624,7 +28626,7 @@
171 cat >>conftest.$ac_ext <<_ACEOF
172 /* end confdefs.h. */
179 @@ -28767,6 +28769,7 @@
180 cat confdefs.h >>conftest.$ac_ext
181 cat >>conftest.$ac_ext <<_ACEOF
182 /* end confdefs.h. */