###
### Fri Feb 6 03:21:12 EST 2004:
### bmake bulk-package for netmaj-2.0.7
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for netmaj-2.0.7
===> Cleaning for perl-5.6.1nb10
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build netmaj-2.0.7
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> netmaj-2.0.7 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build netmaj-2.0.7.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/perl-5.6.1nb10.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.4 2004/01/08 19:18:00 jlam Exp $

perl-5.6.1nb10 will use the following directory as the default
location of the site-specific Perl modules:

	/usr/pkg/lib/perl5/site_perl/5.6.1

===========================================================================

BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package xpkgwedge-1.9 (pkgtools/xpkgwedge) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
bmake package (netmaj-2.0.7)
===> Checking for vulnerabilities in netmaj-2.0.7
=> Checksum OK for netmaj-2.0.7.tar.gz.
work.sol9 -> /work/pkgbuild/games/netmaj/work.sol9
===> Extracting for netmaj-2.0.7
===> Required installed package perl>=5.0: perl-5.6.1nb10 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for netmaj-2.0.7
===> Applying pkgsrc patches for netmaj-2.0.7
===> Overriding tools for netmaj-2.0.7
===> Buildlinking for netmaj-2.0.7
===> Configuring for netmaj-2.0.7
===> Building for netmaj-2.0.7
cd /work/pkgbuild/games/netmaj/work.sol9/netmaj && /usr/bin/env USETOOLS=no MAKECONF=/dev/null USETOOLS="no" OBJECT_FMT="ELF" LDFLAGS=" -L/usr/pkg/lib -Wl,-R/usr/pkg/lib" RPATH_FLAG="-R" WHOLE_ARCHIVE_FLAG="-z allextract" NO_WHOLE_ARCHIVE_FLAG="-z defaultextract" LINK_ALL_LIBGCC_HACK="" PATH=/work/pkgbuild/games/netmaj/work.sol9/.tools/bin:/work/pkgbuild/games/netmaj/work.sol9/.buildlink/bin:/opt/SUNWspro/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/ccs/lib:/usr/pkg/bin:/usr/openwin/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/openwin CFLAGS="-O -I/usr/pkg/include" CPPFLAGS="  -I/usr/pkg/include" FFLAGS="-O" X11PREFIX=/usr/pkg CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC" CPP="/opt/SUNWspro/bin/cc -E" PTHREAD_CFLAGS="" PTHREAD_LDFLAGS="" BSD_INSTALL_PROGRAM="/usr/ucb/install -c -s -o root -g root -m 555"		 BSD_INSTALL_SCRIPT="/usr/ucb/install -c -o root -g root -m 555"			 BSD_INSTALL_DATA="/usr/ucb/install -c -o root -g root -m 444"			 BSD_INSTALL_MAN="/usr/ucb/install -c -o root -g root -m 444"			 BSD_INSTALL="/usr/ucb/install"				 BSD_INSTALL_PROGRAM_DIR="/usr/ucb/install -d -o root -g root -m 755"	 BSD_INSTALL_SCRIPT_DIR="/usr/ucb/install -d -o root -g root -m 755"		 BSD_INSTALL_DATA_DIR="/usr/ucb/install -d -o root -g root -m 755"		 BSD_INSTALL_MAN_DIR="/usr/ucb/install -d -o root -g root -m 755" PKG_SYSCONFDIR="/usr/pkg/etc" BUILDLINK_DIR="/work/pkgbuild/games/netmaj/work.sol9/.buildlink" BUILDLINK_X11_DIR="/work/pkgbuild/games/netmaj/work.sol9/.buildlink-x11" BUILDLINK_CACHE_ALL=yes BUILDLINK_CPPFLAGS="-I/usr/pkg/include" BUILDLINK_LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib"  CC="cc" CXX="CC"  LD="ld"    INSTALL_INFO="/work/pkgbuild/games/netmaj/work.sol9/.tools/bin/install-info" MAKEINFO="/work/pkgbuild/games/netmaj/work.sol9/.tools/bin/makeinfo" VIEWBASE=/usr/pkg bmake libs
(cd lib; make CC="cc" CFLAGS="-I. -Ilib -DNETMAJ_LIB=\"/usr/pkg/lib/netmaj\" -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY" RANLIB="echo")
(cd libcurses; make CC="cc" CFLAGS="-I. -Ilib -DNETMAJ_LIB="/usr/pkg/lib/netmaj" -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY" RANLIB="echo" install)
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c addbytes.c
"addbytes.c", line 45: warning: old-style declaration or incorrect type for: waddbytes
"addbytes.c", line 133: warning: implicit function declaration: scroll
"addbytes.c", line 146: warning: implicit function declaration: wclrtoeol
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c addch.c
"addch.c", line 45: warning: old-style declaration or incorrect type for: waddch
"addch.c", line 48: warning: implicit function declaration: waddbytes
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c addstr.c
"addstr.c", line 45: warning: old-style declaration or incorrect type for: waddstr
"addstr.c", line 51: warning: implicit function declaration: waddbytes
"addstr.c", line 51: warning: implicit function declaration: strlen
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c box.c
"box.c", line 46: warning: old-style declaration or incorrect type for: box
"box.c", line 64: warning: implicit function declaration: touchwin
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c clear.c
"clear.c", line 45: warning: old-style declaration or incorrect type for: wclear
"clear.c", line 47: warning: implicit function declaration: werase
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c clrtobot.c
"clrtobot.c", line 45: warning: old-style declaration or incorrect type for: wclrtobot
"clrtobot.c", line 64: warning: implicit function declaration: touchline
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c clrtoeol.c
"clrtoeol.c", line 45: warning: old-style declaration or incorrect type for: wclrtoeol
"clrtoeol.c", line 67: warning: implicit function declaration: touchline
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c cr_put.c
"cr_put.c", line 64: warning: old-style declaration or incorrect type for: mvcur
"cr_put.c", line 73: warning: implicit function declaration: fgoto
"cr_put.c", line 77: warning: old-style declaration or incorrect type for: fgoto
"cr_put.c", line 93: warning: implicit function declaration: tputs
"cr_put.c", line 151: warning: implicit function declaration: plod
"cr_put.c", line 151: warning: implicit function declaration: strlen
"cr_put.c", line 172: warning: old-style declaration or incorrect type for: plodput
"cr_put.c", line 172: warning: no explicit type given for parameter: c
"cr_put.c", line 180: warning: old-style declaration or incorrect type for: plod
"cr_put.c", line 180: warning: no explicit type given for parameter: cnt
"cr_put.c", line 342: warning: implicit function declaration: tabcol
"cr_put.c", line 439: warning: old-style declaration or incorrect type for: tabcol
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c cr_tty.c
"cr_tty.c", line 78: warning: old-style declaration or incorrect type for: gettmode
"cr_tty.c", line 110: warning: function expects to return value: gettmode
"cr_tty.c", line 131: warning: old-style declaration or incorrect type for: setterm
"cr_tty.c", line 146: warning: implicit function declaration: tgetent
"cr_tty.c", line 148: warning: implicit function declaration: strcpy
"cr_tty.c", line 163: warning: implicit function declaration: tgetnum
"cr_tty.c", line 176: warning: implicit function declaration: zap
"cr_tty.c", line 200: warning: implicit function declaration: strncpy
"cr_tty.c", line 213: warning: old-style declaration or incorrect type for: zap
"cr_tty.c", line 225: warning: implicit function declaration: tgetflag
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c curses.c
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c delch.c
"delch.c", line 46: warning: old-style declaration or incorrect type for: wdelch
"delch.c", line 58: warning: implicit function declaration: touchline
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c deleteln.c
"deleteln.c", line 46: warning: old-style declaration or incorrect type for: wdeleteln
"deleteln.c", line 64: warning: implicit function declaration: memcpy
"deleteln.c", line 66: warning: implicit function declaration: touchline
"deleteln.c", line 76: warning: implicit function declaration: _id_subwins
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c delwin.c
"delwin.c", line 45: warning: old-style declaration or incorrect type for: delwin
"delwin.c", line 56: warning: implicit function declaration: free
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c endwin.c
"endwin.c", line 46: warning: old-style declaration or incorrect type for: endwin
"endwin.c", line 48: warning: implicit function declaration: tputs
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c erase.c
"erase.c", line 45: warning: old-style declaration or incorrect type for: werase
"erase.c", line 66: warning: implicit function declaration: touchline
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c fullname.c
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c getch.c
"getch.c", line 45: warning: old-style declaration or incorrect type for: wgetch
"getch.c", line 70: warning: implicit function declaration: wmove
"getch.c", line 70: warning: implicit function declaration: waddch
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c getstr.c
"getstr.c", line 45: warning: old-style declaration or incorrect type for: wgetstr
"getstr.c", line 48: warning: implicit function declaration: wgetch
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c idlok.c
"idlok.c", line 47: warning: old-style declaration or incorrect type for: idlok
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c id_subwins.c
"id_subwins.c", line 46: warning: old-style declaration or incorrect type for: _id_subwins
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c initscr.c
"initscr.c", line 57: warning: implicit function declaration: setterm
"initscr.c", line 59: warning: implicit function declaration: gettmode
"initscr.c", line 67: warning: implicit function declaration: tputs
"initscr.c", line 80: warning: implicit function declaration: delwin
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c insch.c
"insch.c", line 46: warning: old-style declaration or incorrect type for: winsch
"insch.c", line 58: warning: implicit function declaration: touchline
"insch.c", line 61: warning: implicit function declaration: wrefresh
"insch.c", line 62: warning: implicit function declaration: scroll
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c insertln.c
"insertln.c", line 46: warning: old-style declaration or incorrect type for: winsertln
"insertln.c", line 65: warning: implicit function declaration: memcpy
"insertln.c", line 67: warning: implicit function declaration: touchline
"insertln.c", line 77: warning: implicit function declaration: _id_subwins
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c longname.c
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c move.c
"move.c", line 45: warning: old-style declaration or incorrect type for: wmove
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c mvprintw.c
"mvprintw.c", line 54: warning: old-style declaration or incorrect type for: mvprintw
"mvprintw.c", line 62: warning: implicit function declaration: wmove
"mvprintw.c", line 69: warning: implicit function declaration: _sprintw
"mvprintw.c", line 78: warning: old-style declaration or incorrect type for: mvwprintw
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c mvscanw.c
"mvscanw.c", line 54: warning: old-style declaration or incorrect type for: mvscanw
"mvscanw.c", line 62: warning: implicit function declaration: wmove
"mvscanw.c", line 69: warning: implicit function declaration: _sscans
"mvscanw.c", line 78: warning: old-style declaration or incorrect type for: mvwscanw
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c mvwin.c
"mvwin.c", line 46: warning: old-style declaration or incorrect type for: mvwin
"mvwin.c", line 62: warning: implicit function declaration: _swflags_
"mvwin.c", line 74: warning: implicit function declaration: _set_subwin_
"mvwin.c", line 76: warning: implicit function declaration: touchwin
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c newwin.c
"newwin.c", line 74: warning: implicit function declaration: free
"newwin.c", line 142: warning: implicit function declaration: _set_subwin_
"newwin.c", line 150: warning: old-style declaration or incorrect type for: _set_subwin_
"newwin.c", line 206: warning: implicit function declaration: _swflags_
"newwin.c", line 221: warning: old-style declaration or incorrect type for: _swflags_
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c overlay.c
"overlay.c", line 49: warning: old-style declaration or incorrect type for: overlay
"overlay.c", line 66: warning: function expects to return value: overlay
"overlay.c", line 74: warning: implicit function declaration: wmove
"overlay.c", line 74: warning: implicit function declaration: waddch
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c overwrite.c
"overwrite.c", line 49: warning: old-style declaration or incorrect type for: overwrite
"overwrite.c", line 64: warning: function expects to return value: overwrite
"overwrite.c", line 74: warning: implicit function declaration: memcpy
"overwrite.c", line 77: warning: implicit function declaration: touchline
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c printw.c
"printw.c", line 59: warning: old-style declaration or incorrect type for: printw
"printw.c", line 71: warning: implicit function declaration: _sprintw
"printw.c", line 83: warning: old-style declaration or incorrect type for: wprintw
"printw.c", line 92: warning: argument mismatch
"printw.c", line 144: warning: old-style declaration or incorrect type for: _sprintw
"printw.c", line 158: warning: implicit function declaration: waddch
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c putchar.c
"putchar.c", line 43: warning: old-style declaration or incorrect type for: _putchar
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c refresh.c
"refresh.c", line 60: warning: old-style declaration or incorrect type for: wrefresh
"refresh.c", line 70: warning: implicit function declaration: tputs
"refresh.c", line 94: warning: implicit function declaration: werase
"refresh.c", line 96: warning: implicit function declaration: touchwin
"refresh.c", line 168: warning: no explicit type given
"refresh.c", line 191: warning: implicit function declaration: malloc
"refresh.c", line 191: warning: implicit function declaration: strlen
"refresh.c", line 297: warning: implicit function declaration: scroll
"refresh.c", line 369: warning: no explicit type given
"refresh.c", line 376: warning: implicit function declaration: mvcur
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c scanw.c
"scanw.c", line 57: warning: old-style declaration or incorrect type for: scanw
"scanw.c", line 69: warning: implicit function declaration: _sscans
"scanw.c", line 81: warning: old-style declaration or incorrect type for: wscanw
"scanw.c", line 104: warning: old-style declaration or incorrect type for: _sscans
"scanw.c", line 114: warning: implicit function declaration: wgetstr
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c scroll.c
"scroll.c", line 45: warning: old-style declaration or incorrect type for: scroll
"scroll.c", line 57: warning: implicit function declaration: wmove
"scroll.c", line 58: warning: implicit function declaration: wdeleteln
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c toucholap.c
"toucholap.c", line 48: warning: old-style declaration or incorrect type for: touchoverlap
"toucholap.c", line 65: warning: function expects to return value: touchoverlap
"toucholap.c", line 72: warning: implicit function declaration: touchline
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c standout.c
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c touchwin.c
"touchwin.c", line 45: warning: old-style declaration or incorrect type for: touchwin
"touchwin.c", line 54: warning: implicit function declaration: touchline
"touchwin.c", line 61: warning: old-style declaration or incorrect type for: touchline
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c tstp.c
"tstp.c", line 59: warning: implicit function declaration: mvcur
"tstp.c", line 60: warning: implicit function declaration: endwin
"tstp.c", line 68: warning: argument #2 is incompatible with prototype:
	prototype: pointer to function(int) returning void : "/usr/include/signal.h", line 94
	argument : pointer to function() returning void
"tstp.c", line 87: warning: implicit function declaration: wrefresh
cc -I. -Ilib -DNETMAJ_LIB=/usr/pkg/lib/netmaj -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c unctrl.c
ar ruc libcurses.a addbytes.o addch.o addstr.o box.o clear.o clrtobot.o clrtoeol.o cr_put.o cr_tty.o curses.o delch.o deleteln.o delwin.o endwin.o erase.o fullname.o getch.o getstr.o idlok.o id_subwins.o initscr.o insch.o insertln.o longname.o move.o mvprintw.o mvscanw.o mvwin.o newwin.o overlay.o overwrite.o printw.o putchar.o refresh.o scanw.o scroll.o toucholap.o standout.o touchwin.o tstp.o unctrl.o
echo libcurses.a
libcurses.a
cp libcurses.a ..
cp curses.h ..
cd /work/pkgbuild/games/netmaj/work.sol9/netmaj && /usr/bin/env USETOOLS=no MAKECONF=/dev/null USETOOLS="no" OBJECT_FMT="ELF" LDFLAGS=" -L/usr/pkg/lib -Wl,-R/usr/pkg/lib" RPATH_FLAG="-R" WHOLE_ARCHIVE_FLAG="-z allextract" NO_WHOLE_ARCHIVE_FLAG="-z defaultextract" LINK_ALL_LIBGCC_HACK="" PATH=/work/pkgbuild/games/netmaj/work.sol9/.tools/bin:/work/pkgbuild/games/netmaj/work.sol9/.buildlink/bin:/opt/SUNWspro/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/ccs/lib:/usr/pkg/bin:/usr/openwin/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/openwin CFLAGS="-O -I/usr/pkg/include" CPPFLAGS="  -I/usr/pkg/include" FFLAGS="-O" X11PREFIX=/usr/pkg CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC" CPP="/opt/SUNWspro/bin/cc -E" PTHREAD_CFLAGS="" PTHREAD_LDFLAGS="" BSD_INSTALL_PROGRAM="/usr/ucb/install -c -s -o root -g root -m 555"		 BSD_INSTALL_SCRIPT="/usr/ucb/install -c -o root -g root -m 555"			 BSD_INSTALL_DATA="/usr/ucb/install -c -o root -g root -m 444"			 BSD_INSTALL_MAN="/usr/ucb/install -c -o root -g root -m 444"			 BSD_INSTALL="/usr/ucb/install"				 BSD_INSTALL_PROGRAM_DIR="/usr/ucb/install -d -o root -g root -m 755"	 BSD_INSTALL_SCRIPT_DIR="/usr/ucb/install -d -o root -g root -m 755"		 BSD_INSTALL_DATA_DIR="/usr/ucb/install -d -o root -g root -m 755"		 BSD_INSTALL_MAN_DIR="/usr/ucb/install -d -o root -g root -m 755" PKG_SYSCONFDIR="/usr/pkg/etc" BUILDLINK_DIR="/work/pkgbuild/games/netmaj/work.sol9/.buildlink" BUILDLINK_X11_DIR="/work/pkgbuild/games/netmaj/work.sol9/.buildlink-x11" BUILDLINK_CACHE_ALL=yes BUILDLINK_CPPFLAGS="-I/usr/pkg/include" BUILDLINK_LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib"  CC="cc" CXX="CC"  LD="ld"    INSTALL_INFO="/work/pkgbuild/games/netmaj/work.sol9/.tools/bin/install-info" MAKEINFO="/work/pkgbuild/games/netmaj/work.sol9/.tools/bin/makeinfo" VIEWBASE=/usr/pkg bmake
(cd lib; make CC="cc" CFLAGS="-I. -Ilib -DNETMAJ_LIB=\"/usr/pkg/lib/netmaj\" -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY" RANLIB="echo")
(cd libcurses; make CC="cc" CFLAGS="-I. -Ilib -DNETMAJ_LIB="/usr/pkg/lib/netmaj" -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY" RANLIB="echo" install)
cp libcurses.a ..
cp curses.h ..
cc -I. -Ilib -DNETMAJ_LIB=\"/usr/pkg/lib/netmaj\" -O -DSYSV -DSVR4 -DUSE_TERMIOS -DUSE_TERMINFO -D_ENDWIN_INCURSES  -DUSE_RAND  -DHAVE_GETTIMEOFDAY   -I/usr/pkg/include -c server.c
"/usr/include/stdlib.h", line 171: identifier redeclared: rand
	current : function(void) returning long
	previous: function(void) returning int : "/usr/include/iso/stdlib_iso.h", line 111
"server.c", line 74: warning: old-style declaration or incorrect type for: main
"server.c", line 89: warning: argument #2 is incompatible with prototype:
	prototype: pointer to function(int) returning void : "/usr/include/iso/signal_iso.h", line 48
	argument : pointer to function() returning void
"server.c", line 130: warning: implicit function declaration: pf_init
"server.c", line 131: warning: implicit function declaration: rule_init
"server.c", line 132: warning: implicit function declaration: pack_rule
"server.c", line 150: warning: implicit function declaration: strcpy
"server.c", line 180: warning: implicit function declaration: strncpy
"server.c", line 183: warning: implicit function declaration: msgWrites
"server.c", line 194: warning: implicit function declaration: strcmp
"server.c", line 197: warning: implicit function declaration: optprot
"server.c", line 206: warning: implicit function declaration: talk_pg
"server.c", line 256: warning: implicit function declaration: game
"server.c", line 263: warning: implicit function declaration: after_game
"server.c", line 279: warning: old-style declaration or incorrect type for: talk_pg
"server.c", line 279: warning: no explicit type given for parameter: from
"server.c", line 284: warning: implicit function declaration: strncmp
"server.c", line 284: warning: implicit function declaration: strlen
"server.c", line 285: warning: implicit function declaration: talk
"server.c", line 287: warning: implicit function declaration: runauto
"server.c", line 294: warning: old-style declaration or incorrect type for: runauto
"server.c", line 309: warning: old-style declaration or incorrect type for: talk
"server.c", line 309: warning: no explicit type given for parameter: from
"server.c", line 355: warning: old-style declaration or incorrect type for: msgSelect
"server.c", line 359: warning: old-style declaration or incorrect type for: msgIsRead
"server.c", line 359: warning: no explicit type given for parameter: p
"server.c", line 363: warning: old-style declaration or incorrect type for: optprot
"server.c", line 363: warning: no explicit type given for parameter: from
"server.c", line 363: warning: no explicit type given for parameter: opt
"server.c", line 391: warning: old-style declaration or incorrect type for: after_game
cc: acomp failed for server.c
*** Error code 2

Stop.
bmake: stopped in /work/pkgbuild/games/netmaj/work.sol9/netmaj
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/netmaj
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/netmaj
BULK> netmaj-2.0.7 was marked as broken:
-rw-r--r--   1 root     other      27011 Feb  6 03:22 .broken.html
bmake deinstall
===> Deinstalling for netmaj
BULK> Marking all packages which depend upon netmaj-2.0.7 as broken:
BULK> Build for netmaj-2.0.7 was not successful, aborting.