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 BUILD_DEPENDS= db4:dev:standard
23 USES= iconv:build libtool ncurses:build pkgconfig
25 FPC_EQUIVALENT= editors/nvi2
28 CONFIGURE_OUTSOURCE= yes
29 CONFIGURE_WRKSRC= {{WRKSRC}}/build_unix
30 CONFIGURE_SCRIPT= dist/configure
31 CONFIGURE_ARGS= --program-prefix=n
35 --with-db-prefix={{LOCALBASE}}/db4
36 --with-curses={{NCURSESBASE}}
38 CPPFLAGS= -I{{NCURSESINC}}
39 LDFLAGS= -L{{NCURSESLIB}}
40 VAR_OPSYS[sunos]= CONFIGURE_ENV=LIBS="-lrt -lsocket"
43 ${RM} -r ${STAGEDIR}${MANPREFIX}/man/cat1
46 ${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \
47 ${WRKSRC}/dist/Makefile.in
50 # disable shared iconv and ncurses
51 ${RM} ${LOCALBASE}/lib/libiconv.so
52 ${RM} ${LOCALBASE}/lib/libncurses.so
53 ${RM} ${LOCALBASE}/lib/libtinfo.so
54 ${RM} ${LOCALBASE}/db4/lib/libdb.so
56 [FILE:258:descriptions/desc.single]
57 Nvi is an implementation of the ex/vi text editor originally distributed
58 as part of the Fourth Berkeley Software Distribution (4BSD), by the
59 University of California, Berkeley. The source code to nvi is freely
60 available, and nvi may be freely redistributed.
64 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59 1758309 nvi-1.81.6.tar.bz2
67 [FILE:290:manifests/plist.single]
98 [FILE:253:patches/patch-cl_cl__funcs.c]
99 --- cl/cl_funcs.c.orig 2007-11-18 16:41:42 UTC
101 @@ -18,6 +18,7 @@ static const char sccsid[] = "$Id: cl_fu
102 #include <sys/time.h>
104 #include <bitstring.h>
111 [FILE:256:patches/patch-cl_cl__screen.c]
112 --- cl/cl_screen.c.orig 2007-11-18 16:41:42 UTC
114 @@ -17,6 +17,7 @@ static const char sccsid[] = "$Id: cl_sc
115 #include <sys/queue.h>
117 #include <bitstring.h>
124 [FILE:349:patches/patch-dist_config.h]
125 --- dist/config.h.in- Fri May 9 12:50:29 2003
126 +++ dist/config.h.in Fri May 9 12:50:56 2003
128 /* Define if you have <sys/select.h> */
129 #undef HAVE_SYS_SELECT_H
131 -/* Define if you have the System V style pty calls. */
132 -#undef HAVE_SYS5_PTY
134 /* Define if you want to compile in the Tcl interpreter. */
135 #undef HAVE_TCL_INTERP
139 [FILE:1738:patches/patch-dist_configure]
140 --- dist/configure.orig 2007-11-18 16:43:54 UTC
142 @@ -21142,7 +21142,7 @@ fi
143 echo "${ECHO_T}$vi_cv_runpath" >&6; }
145 if test "X$vi_cv_runpath" = "Xyes"; then
146 - LRscript='s/^\(.*\)/-R\1 -L\1 /'
147 + LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /'
149 LRscript='s/^\(.*\)/-L\1 /'
151 @@ -23510,7 +23510,7 @@ fi
152 CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS"
154 if test "$vi_cv_widechar" = "yes"; then
155 - for vi_cv_curses in ncurses ncursesw curses; do
156 + for vi_cv_curses in "ncurses -ltinfo" curses; do
157 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh`
158 { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5
159 echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; }
160 @@ -23581,7 +23581,7 @@ fi
164 - for vi_cv_curses in ncurses ncursesw curses; do
165 + for vi_cv_curses in "ncurses -ltinfo" curses; do
166 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh`
167 { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5
168 echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; }
169 @@ -27631,6 +27631,8 @@ _ACEOF
170 cat confdefs.h >>conftest.$ac_ext
171 cat >>conftest.$ac_ext <<_ACEOF
172 /* end confdefs.h. */
175 main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
177 rm -f conftest$ac_exeext
178 @@ -28624,7 +28626,7 @@ cat confdefs.h >>conftest.$ac_ext
179 cat >>conftest.$ac_ext <<_ACEOF
180 /* end confdefs.h. */
187 @@ -28767,6 +28769,7 @@ _ACEOF
188 cat confdefs.h >>conftest.$ac_ext
189 cat >>conftest.$ac_ext <<_ACEOF
190 /* end confdefs.h. */