=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for apcupsd-3.14.9.tar.gz
=> Checksum RMD160 OK for apcupsd-3.14.9.tar.gz
===> Installing dependencies for apcupsd-3.14.9nb4
==========================================================================
The supported build options for apcupsd are:

	cgi

The currently selected options are:

	cgi

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.apcupsd (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
apcupsd-3.14.9nb4.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency makedepend-[0-9]*: found makedepend-1.0.4
=> Build dependency {gettext-tools>=0.14.5,gettext>=0.10.36<0.14.5}: found gettext-tools-0.18.1.1nb3
=> Build dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency gd>=2.0.35nb9: found gd-2.0.35nb10
===> Overriding tools for apcupsd-3.14.9nb4
===> Extracting for apcupsd-3.14.9nb4
===> Patching for apcupsd-3.14.9nb4
=> Applying pkgsrc patches for apcupsd-3.14.9nb4
===> Creating toolchain wrappers for apcupsd-3.14.9nb4
===> Configuring for apcupsd-3.14.9nb4
=> Fixing conflicting STRIP variable name
WARNING: [subst.mk:strip] Ignoring non-existent file "./src/gapcmon/Makefile.in".
WARNING: [subst.mk:strip] Ignoring non-existent file "./src/cgi/Makefile.in".
WARNING: [subst.mk:strip] Ignoring non-existent file "./src/Makefile.in".
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for true... /tmp/pkgsrc/sysutils/apcupsd/work/.tools/bin/true
checking for false... /tmp/pkgsrc/sysutils/apcupsd/work/.tools/bin/false
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for x86_64-unknown-linux-gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g pbulk
checking for gawk... /usr/bin/awk
checking for library containing strerror... none required
checking for shutdown... /sbin/shutdown
checking for mail... no
configure: WARNING: mail program not found !
checking for wall... /usr/bin/wall
checking for sh... /bin/sh
checking for GNU make... make
checking for ranlib... /usr/bin/ranlib
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for echo... (cached) echo
checking for ln... /bin/ln
checking for sed... /bin/sed
checking for ar... /usr/bin/ar
checking for mv... /bin/mv
checking for rst2html.py... no
checking for rst2pdf... no
checking for abort... yes
checking for fork... yes
checking for calloc... yes
checking for getpid... yes
checking for ioctl... yes
checking for kill... yes
checking for rewind... yes
checking for select... yes
checking for setsid... yes
checking for signal... yes
checking for strerror... yes
checking for strncmp... yes
checking for strncpy... yes
checking for tcgetattr... yes
checking for vfprintf... yes
checking for setpgrp... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for library containing nanosleep... none required
checking for syslog... yes
checking for strftime... yes
checking whether setpgrp takes no argument... yes
checking for library containing socket... none required
checking for library containing gethostname... none required
checking for library containing gethostbyname... none required
checking for library containing gethostbyname_r... none required
checking for socklen_t... yes
checking for library containing inet_addr... none required
checking for strchr... yes
using libc's strchr
checking for strstr... yes
checking for strcasecmp... yes
checking for memmove... yes
checking for getopt_long... yes
checking for inet_pton... yes
checking for localtime_r... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/types.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... yes
checking for int32_t... yes
checking for X... no
checking whether #! works in shell scripts... yes
Using halpolicydir=/usr/share/hal/fdi/policy/20thirdparty
checking for gdImagePng in -lgd... yes
using PNG file format (/usr/lib).
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
Using Linux USB driver.
checking how many arguments gethostbyname_r() takes... six
checking if libsupc++ is required... yes
checking if GCC supports -fno-exceptions... yes
checking if GCC supports -fno-rtti... yes
checking for wait... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... yes
checking for snprintf... (cached) yes
Enabling cgi program support...
gcc private include directory found.
configure: creating ./config.status
config.status: creating autoconf/variables.mak
config.status: creating platforms/apccontrol
config.status: creating platforms/etc/changeme
config.status: creating platforms/etc/commfailure
config.status: creating platforms/etc/commok
config.status: creating platforms/etc/offbattery
config.status: creating platforms/etc/onbattery
config.status: creating platforms/etc/apcupsd.conf
config.status: creating examples/safe.apccontrol
config.status: creating src/win32/Makefile
config.status: creating platforms/unknown/apcupsd
config.status: creating platforms/unknown/halt
config.status: creating src/cgi/cgiconfig.h
config.status: creating include/config.h


Configuration on Sun Dec 23 01:27:58 UTC 2012:

  Host:                       x86_64-unknown-linux-gnu -- unknown unknown
  Apcupsd version:            3.14.9 (22 July 2011)
  Source code location:       .
  Install binaries:           /usr/pkg/sbin
  Install config files:       /usr/pkg/etc/apcupsd
  Install man files:          /usr/pkg/share/man
  Nologin file in:            /etc
  PID directory:              /var/run
  LOG dir (events, status)    /var/db/apcupsd.events
  LOCK dir (for serial port)  /var/spool/lock
  Power Fail dir              /usr/pkg/etc/apcupsd
  Compiler:                   g++ 4.5.2
  Compiler flags:             -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -I/usr/local/include -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -fno-exceptions -fno-rtti -Wall 
  Linker:                     gcc
  Linker flags:               -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/local/lib64 -L/usr/local/lib
  Host and version:           unknown unknown
  Shutdown Program:           /sbin/shutdown
  Port/Device:                /dev/tty01
  Network Info Port (CGI):    3551
  UPSTYPE                     apcsmart
  UPSCABLE                    smart

  drivers (no-* are disabled): apcsmart dumb net linux-usb snmp no-net-snmp pcnet no-test

  enable-nis:                 yes
  with-nisip:                 0.0.0.0
  enable-cgi:                 yes
  with-cgi-bin:               /usr/pkg/libexec/cgi-bin
  with-libwrap:               
  enable-pthreads:            yes
  enable-dist-install:        yes
  enable-gapcmon:             no
  enable-apcagent:            no
  
Configuration complete: Run 'make' to build apcuspd.