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/nvi-devel
27 CONFIGURE_OUTSOURCE= yes
28 CONFIGURE_WRKSRC= {{WRKSRC}}/build_unix
29 CONFIGURE_SCRIPT= dist/configure
30 CONFIGURE_ARGS= --with-db-prefix={{LOCALBASE}}
34 --with-curses={{NCURSESBASE}}
36 CPPFLAGS= -I{{NCURSESINC}}
37 LDFLAGS= -L{{NCURSESLIB}}
38 VAR_OPSYS[sunos]= CONFIGURE_ENV=LIBS="-lrt -lsocket"
41 ${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \
42 ${WRKSRC}/dist/Makefile.in
43 ${REINPLACE_CMD} -e 's,-ldb,-l${BDB_LIB_NAME} -lpthread,g' \
44 ${WRKSRC}/dist/configure
47 ${RM} -r ${STAGEDIR}${MANPREFIX}/man/cat1
49 [FILE:258:descriptions/desc.single]
50 Nvi is an implementation of the ex/vi text editor originally distributed
51 as part of the Fourth Berkeley Software Distribution (4BSD), by the
52 University of California, Berkeley. The source code to nvi is freely
53 available, and nvi may be freely redistributed.
57 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59 1758309 nvi-1.81.6.tar.bz2
60 [FILE:290:manifests/plist.single]
91 [FILE:349:patches/patch-dist_config.h]
92 --- dist/config.h.in- Fri May 9 12:50:29 2003
93 +++ dist/config.h.in Fri May 9 12:50:56 2003
95 /* Define if you have <sys/select.h> */
96 #undef HAVE_SYS_SELECT_H
98 -/* Define if you have the System V style pty calls. */
101 /* Define if you want to compile in the Tcl interpreter. */
102 #undef HAVE_TCL_INTERP
106 [FILE:1731:patches/patch-dist_configure]
107 --- dist/configure.orig 2007-11-18 16:43:54 UTC
109 @@ -21142,7 +21142,7 @@
110 echo "${ECHO_T}$vi_cv_runpath" >&6; }
112 if test "X$vi_cv_runpath" = "Xyes"; then
113 - LRscript='s/^\(.*\)/-R\1 -L\1 /'
114 + LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /'
116 LRscript='s/^\(.*\)/-L\1 /'
118 @@ -23510,7 +23510,7 @@
119 CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS"
121 if test "$vi_cv_widechar" = "yes"; then
122 - for vi_cv_curses in ncurses ncursesw curses; do
123 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow -ldb" curses; do
124 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh`
125 { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5
126 echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; }
127 @@ -23581,7 +23581,7 @@
131 - for vi_cv_curses in ncurses ncursesw curses; do
132 + for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow -ldb" curses; do
133 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh`
134 { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5
135 echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; }
136 @@ -27631,6 +27631,8 @@
137 cat confdefs.h >>conftest.$ac_ext
138 cat >>conftest.$ac_ext <<_ACEOF
139 /* end confdefs.h. */
142 main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
144 rm -f conftest$ac_exeext
145 @@ -28624,7 +28626,7 @@
146 cat >>conftest.$ac_ext <<_ACEOF
147 /* end confdefs.h. */
154 @@ -28767,6 +28769,7 @@
155 cat confdefs.h >>conftest.$ac_ext
156 cat >>conftest.$ac_ext <<_ACEOF
157 /* end confdefs.h. */