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:static 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
52 [FILE:258:descriptions/desc.single]
53 Nvi is an implementation of the ex/vi text editor originally distributed
54 as part of the Fourth Berkeley Software Distribution (4BSD), by the
55 University of California, Berkeley. The source code to nvi is freely
56 available, and nvi may be freely redistributed.
60 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59 1758309 nvi-1.81.6.tar.bz2
63 [FILE:290:manifests/plist.single]
94 [FILE:253:patches/patch-cl_cl__funcs.c]
95 --- cl/cl_funcs.c.orig 2007-11-18 16:41:42 UTC
97 @@ -18,6 +18,7 @@ static const char sccsid[] = "$Id: cl_fu
100 #include <bitstring.h>
107 [FILE:256:patches/patch-cl_cl__screen.c]
108 --- cl/cl_screen.c.orig 2007-11-18 16:41:42 UTC
110 @@ -17,6 +17,7 @@ static const char sccsid[] = "$Id: cl_sc
111 #include <sys/queue.h>
113 #include <bitstring.h>
120 [FILE:349:patches/patch-dist_config.h]
121 --- dist/config.h.in- Fri May 9 12:50:29 2003
122 +++ dist/config.h.in Fri May 9 12:50:56 2003
124 /* Define if you have <sys/select.h> */
125 #undef HAVE_SYS_SELECT_H
127 -/* Define if you have the System V style pty calls. */
128 -#undef HAVE_SYS5_PTY
130 /* Define if you want to compile in the Tcl interpreter. */
131 #undef HAVE_TCL_INTERP
135 [FILE:1721:patches/patch-dist_configure]
136 --- dist/configure.orig 2007-11-18 16:43:54 UTC
138 @@ -21142,7 +21142,7 @@
139 echo "${ECHO_T}$vi_cv_runpath" >&6; }
141 if test "X$vi_cv_runpath" = "Xyes"; then
142 - LRscript='s/^\(.*\)/-R\1 -L\1 /'
143 + LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /'
145 LRscript='s/^\(.*\)/-L\1 /'
147 @@ -23510,7 +23510,7 @@
148 CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS"
150 if test "$vi_cv_widechar" = "yes"; then
151 - for vi_cv_curses in ncurses ncursesw curses; do
152 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow" curses; do
153 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh`
154 { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5
155 echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; }
156 @@ -23581,7 +23581,7 @@
160 - for vi_cv_curses in ncurses ncursesw curses; do
161 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow" curses; do
162 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh`
163 { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5
164 echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; }
165 @@ -27631,6 +27631,8 @@
166 cat confdefs.h >>conftest.$ac_ext
167 cat >>conftest.$ac_ext <<_ACEOF
168 /* end confdefs.h. */
171 main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
173 rm -f conftest$ac_exeext
174 @@ -28624,7 +28626,7 @@
175 cat >>conftest.$ac_ext <<_ACEOF
176 /* end confdefs.h. */
183 @@ -28767,6 +28769,7 @@
184 cat confdefs.h >>conftest.$ac_ext
185 cat >>conftest.$ac_ext <<_ACEOF
186 /* end confdefs.h. */