=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for mailagent-3.0.73.tar.gz
=> Checksum RMD160 OK for mailagent-3.0.73.tar.gz
===> Installing dependencies for mailagent-3.0.73nb2
==========================================================================
The following variables will affect the build process of this package,
mailagent-3.0.73nb2.  Their current value is shown below:

        * MAILAGENT_DOMAIN = example.com
        * MAILAGENT_EMAIL = testuser@example.com
        * MAILAGENT_FQDN = test.example.com
        * MAILAGENT_ORGANIZATION = Example Company

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency perl>=5.0: found perl-5.16.2nb3
===> Overriding tools for mailagent-3.0.73nb2
===> Extracting for mailagent-3.0.73nb2
if [ `/bin/sh -c umask` != 0022 ]; then  echo "Please set umask to 022 before running make,";  echo "or mailagent will not build successfully.";  false; fi
if [ `/usr/bin/id -u` = 0 ]; then  echo "Do not build mailagent as root or it won't pass the sanity tests.";  false; fi
===> Patching for mailagent-3.0.73nb2
=> Applying pkgsrc patches for mailagent-3.0.73nb2
===> Creating toolchain wrappers for mailagent-3.0.73nb2
===> Configuring for mailagent-3.0.73nb2
echo "#!/bin/sh" > /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh
echo "cf_email='testuser@example.com'" >> /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh
echo "d_flockonly='define'" >> /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh
if [ `echo example.com | tr A-Z a-z` = `echo test.example.com | tr A-Z a-z` ]; then  echo "d_hidnet='undef'" >> /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh;  echo "hiddennet=''" >> /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh;  else  echo "d_hidnet='define'" >> /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh;  echo "hiddennet='example.com'" >> /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh;  fi
echo "orgname='Example Company'" >> /scratch/mail/mailagent/work/mailagent-3.0.73/config.sh
=> Checking for portability problems in extracted files
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /scratch/mail/mailagent/work/.tools/bin/echo and builtin echo (if any)...
Symbolic links are supported.
Good, your tr supports [:lower:] and [:upper:] to convert case.
I see a config.sh file.  Shall I use it to set the defaults? [y]  
Fetching default answers from your old config.sh file...
Do you expect to run these scripts and binaries on multiple machines? [n]  
Installation prefix to use? (~name ok) [/usr/pkg]  
AFS does not seem to be running...
Pathname where the public executables will reside? (~name ok) [/usr/pkg/bin]  
System manual is in /usr/share/man/man1.
Where do the manual pages (source) go? (~name ok) [/usr/pkg/man/man1]  
Pathname where the private library files will reside? (~name ok)
[/usr/pkg/lib/mailagent]  
Where do you keep publicly executable scripts? (~name ok) [/usr/pkg/bin]  
Where is perl located on your system? (~name ok) [/usr/pkg/bin/perl]  
Which memory models are supported? [none]  
Use which C compiler? [cc]  
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/lib /usr/lib]  
What optimizer/debugger flag should be used? [-O]  
Any additional cc flags? [none]  
Any additional ld flags (NOT including libraries)? [none]  
Checking your choice of C compiler and flags for coherency...
What is the file extension used for shared libraries? [so]  
Checking for optional libraries...
Any additional libraries? [none]  
Checking for GNU C Library...
Shall I use nm to extract C symbols from the libraries? [y]  
Computing filename position in cpp output for #include directives...
access() found.
<sys/file.h> defines the *_OK access constants.
bcopy() found.
<unistd.h> found.
setpgrp() found.
You have to use setpgrp(pid,pgrp) instead of setpgrp().
dup2() found.
fcntl() found.
You can have filenames longer than 14 characters.
Figuring out host name...
Your host name appears to be "build-nb51-i386.bec.de". Right? [y]  
What is your domain name? [.bec.de]  
gethostname() found.
Shall I ignore gethostname() from now on? [n]  
getopt() found.
Using <string.h> instead of <strings.h>.
strchr() found.
<sys/file.h> defines the O_* constants...
and you have the 3 argument form of open().
rename() found.
setpgid() found.
setrgid() found.
setruid() found.
setsid() found.
strcasecmp() found.
strerror() found.
Looks like your <sys/wait.h> knows about 'union wait'...
So we'll use that for wait().
vfork() found.
Some systems have problems with vfork().  Do you want to use it? [y]  
tcsetattr() found.
You have POSIX termios.h... good!
<sys/filio.h> found.
<sys/ioctl.h> found.
TIOCNOTTY found in <sys/ioctl.h>.
Using ioctl() call on /dev/tty to void tty association.
Great! Looks like we can use the WIFxxx macros.
Checking to see how your cpp does stuff like catenate tokens...
What is the default editor on your system? [/usr/bin/vi]  
flock() found.
Would you like to use flock style mail spool locking only? [y]  
Use "hidden" network? [y]  
What hostname do you wish to advertise? [example.com]  
Looking for a BSD-compatible install program...
Which install program shall I use? (~name ok)
[/scratch/mail/mailagent/work/.tools/bin/install]  
Ok, let's see how we can create nested directories...
Checking to see how big your integers are...
Where is yet-to-be-read mail spooled? (~name ok) [/var/mail]  
Mail transport agent to be used? [/usr/sbin/sendmail]  
In which file is yet-to-be-read mail spooled? (~name ok) [/var/mail/%L]  
Checking how to generate makefile dependencies on your machine...
Name of program to make makefile dependencies? (~name ok)
[/scratch/mail/mailagent/work/mailagent-3.0.73/mkdep]  
Organization: [Example Company]  
Getting the current patchlevel...
What type are process ids on this system declared as? [pid_t]  
Checking out function prototypes...
Maximum register declarations? [6]  
Root uid = 0
You have void (*signal())() instead of int.
Shall I use #! to start up perl? [y]  
time() found.
What type is returned by time() on this system? [time_t]  
What is the type for user ids returned by getuid()? [uid_t]  
Where is the utmp file recording logins? [/var/run/utmp]  
Checking to see how well your C compiler groks the void type...
  Support flag bits are:
    1: basic void declarations.
    2: arrays of pointers to functions returning void.
    4: operations between pointers to and addresses of void functions.
    8: generic void pointers.
<sys/file.h> found.
We'll be including <sys/file.h>.
<fcntl.h> found.
We don't need to include <fcntl.h> if we include <sys/file.h>.
<sys/param.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
We'll include <sys/time.h>.
<sys/types.h> found.
<sys/wait.h> found.
Berkeley/V7 format for full name in /etc/passwd? [y]  
What is your e-mail address? [testuser@example.com]  
Subscribe to or unsubscribe from the agent-users mailing list? [neither]  
Creating config.sh...
Doing variable substitutions on .SH files...
Extracting Makefile (with variable substitutions)
Extracting agent/Makefile (with variable substitutions)
Extracting agent/edusers (with variable substitutions)
Extracting agent/examples/Makefile (with variable substitutions)
Extracting agent/files/Makefile (with variable substitutions)
Extracting agent/files/help/Makefile (with variable substitutions)
Extracting agent/files/help/addauth (with variable substitutions)
Extracting agent/files/help/approve (with variable substitutions)
Extracting agent/files/help/delpower (with variable substitutions)
Extracting agent/files/help/end (with variable substitutions)
Extracting agent/files/help/getauth (with variable substitutions)
Extracting agent/files/help/help (with variable substitutions)
Extracting agent/files/help/newpower (with variable substitutions)
Extracting agent/files/help/passwd (with variable substitutions)
Extracting agent/files/help/password (with variable substitutions)
Extracting agent/files/help/power (with variable substitutions)
Extracting agent/files/help/release (with variable substitutions)
Extracting agent/files/help/remauth (with variable substitutions)
Extracting agent/files/help/set (with variable substitutions)
Extracting agent/files/help/setauth (with variable substitutions)
Extracting agent/files/help/user (with variable substitutions)
Extracting agent/filter/Makefile (with variable substitutions)
Extracting agent/maildist (with variable substitutions)
Extracting agent/mailhelp (with variable substitutions)
Extracting agent/maillist (with variable substitutions)
Extracting agent/mailpatch (with variable substitutions)
Extracting agent/man/Makefile (with variable substitutions)
Extracting agent/man/edusers.1 (with variable substitutions)
Extracting agent/man/mailagent.1 (with variable substitutions)
Extracting agent/man/maildist.1 (with variable substitutions)
Extracting agent/man/mailhelp.1 (with variable substitutions)
Extracting agent/man/maillist.1 (with variable substitutions)
Extracting agent/man/mailpatch.1 (with variable substitutions)
Extracting agent/man/package.1 (with variable substitutions)
Extracting agent/package (with variable substitutions)
Extracting agent/pl/Makefile (with variable substitutions)
Extracting agent/pl/utmp/Makefile (with variable substitutions)
Extracting agent/test/Makefile (with variable substitutions)
Extracting config.h (with variable substitutions)
Extracting install (with variable substitutions)
Run make depend now? [y]  
Depending in agent...
Depending in agent/pl...
Depending in agent/pl/utmp...
(/scratch/mail/mailagent/work/.tools/bin/sed '/^# DO NOT DELETE/q' Makefile &&  /scratch/mail/mailagent/work/mailagent-3.0.73/mkdep -I../../.. -- utmp_ph.c |  /scratch/mail/mailagent/work/.tools/bin/sed 's/: \.\//: /; s/\/usr\/include[^ ]*//g; /^[ 	]*\\$/d'  ) > Makefile.new
cp Makefile Makefile.bak
cp Makefile.new Makefile
/scratch/mail/mailagent/work/.tools/bin/rm -f Makefile.new
Depending in agent/filter...
(/scratch/mail/mailagent/work/.tools/bin/sed '/^# DO NOT DELETE/q' Makefile &&  /scratch/mail/mailagent/work/mailagent-3.0.73/mkdep -I../.. -- environ.c hash.c io.c lock.c logfile.c main.c misc.c msg.c parser.c  user.c getopt.c dup2.c |  /scratch/mail/mailagent/work/.tools/bin/sed -e 's:/usr/include[^ ]*::g; s:/usr/include[^ ]*::g; '  -e '/: / b print' -e 'H; d; n; : print' -e 'x; s/\\\n//g'  -e 's/  */ /g; s/ :/:/;' -e '/: *$/d'  ) > Makefile.new
cp Makefile Makefile.bak
cp Makefile.new Makefile
/scratch/mail/mailagent/work/.tools/bin/rm -f Makefile.new
(/scratch/mail/mailagent/work/.tools/bin/sed '/^# DO NOT DELETE/q' Makefile &&  grep '^\$grep' mailpatch.SH  mailhelp.SH  maillist.SH  maildist.SH  package.SH  edusers.SH  magent.sh |  /scratch/mail/mailagent/work/.tools/bin/sed -e "s/^.*' \([^ ]*\) >>\(.*\)/\2: \1/"  ) > Makefile.new
cp Makefile Makefile.bak
cp Makefile.new Makefile
/scratch/mail/mailagent/work/.tools/bin/rm -f Makefile.new
Now you must run a make.
