=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
=> Checksum SHA1 OK for magic-7.5.188.tgz
=> Checksum RMD160 OK for magic-7.5.188.tgz
===> Installing dependencies for magic-7.5.188nb3
==========================================================================
The following variables will affect the build process of this package,
magic-7.5.188nb3.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

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 nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.6
=> Build dependency xproto>=7.0.9: found xproto-7.0.23nb2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.8
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency tcl>=8.5.7: found tcl-8.5.13
=> Full dependency tk>=8.4: found tk-8.5.13nb1
=> Full dependency readline>=6.0: found readline-6.2
=> Full dependency blt>=2.4znb2: found blt-2.4znb3
===> Overriding tools for magic-7.5.188nb3
===> Extracting for magic-7.5.188nb3
===> Patching for magic-7.5.188nb3
=> Applying pkgsrc patches for magic-7.5.188nb3
===> Creating toolchain wrappers for magic-7.5.188nb3
===> Configuring for magic-7.5.188nb3
=> 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
=> Replacing awk interpreter in ext2spice/spice2sim.
=> Replacing tclsh interpreter in tcltk/strip_reflibs.tcl.
=> Replacing wish interpreter in tcltk/tkshell.tcl.
=> Checking for portability problems in extracted files
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gcc... gcc
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 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 library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g pbulk
checking for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking for ld used by GCC... /usr/x86_64-unknown-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-unknown-linux-gnu/bin/ld) is GNU ld... 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 for void *... yes
checking size of void *... 8
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for setenv... yes
checking for putenv... yes
checking for vfork... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking param.h usability... no
checking param.h presence... no
checking for param.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for gcore... no
checking for csh... no
checking for X... no
checking for XOpenDevice in -lXi... no
checking for XmuInternAtom in -lXmu... no
checking for XextFindDisplay in -lXext... no
checking for tclConfig.sh... /usr/pkg/lib/tclConfig.sh
checking for tkConfig.sh... /usr/pkg/lib/tkConfig.sh
checking for wish executable... /usr/pkg/bin/wish
checking for tclsh executable... /usr/pkg/bin/tclsh
Can't find tcl library
Reverting to non-Tcl compile
checking for rl_pre_input_hook in -lreadline... yes
checking for rl_username_completion_function in -lreadline... yes
checking for rl_filename_completion_function in -lreadline... yes
checking for rl_attempted_completion_over in -lreadline... yes
checking for tgetent in -ltermcap... yes
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
GL header files not found, disabling OpenGL
checking for x86_64-unknown-linux-g++... no
checking for x86_64-unknown-linux-c++... no
checking for x86_64-unknown-linux-gpp... no
checking for x86_64-unknown-linux-aCC... no
checking for x86_64-unknown-linux-CC... no
checking for x86_64-unknown-linux-cxx... no
checking for x86_64-unknown-linux-cc++... no
checking for x86_64-unknown-linux-cl... no
checking for x86_64-unknown-linux-FCC... no
checking for x86_64-unknown-linux-KCC... no
checking for x86_64-unknown-linux-RCC... no
checking for x86_64-unknown-linux-xlC_r... no
checking for x86_64-unknown-linux-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
configure: creating ./config.status
config.status: creating defs.mak

-----------------------------------------------------------
Configuration Summary (principle requirements):

X11:          yes
OpenGL:       no

  OpenGL graphics are considerably better than the standard 8-bit
  and 24-bit X11 graphics, provided that you have a video card and
  driver supporting accelerated OpenGL graphics.  If you get this
  message, you may need to download OpenGL libraries and header
  files, which are usually available from the video card manufacturer.
  Magic with un-accelerated OpenGL, such as using Mesa GL without
  a supported graphics card, is usually a very bad combination.

Tcl/Tk:       no

  Without Tcl/Tk, you cannot run the enhanced version of magic
  with the toolbar and menus, and a number of other functions
  are disabled.  If you did not specifically disable Tcl/Tk on
  the configure command line, then getting this message means
  that you do not have Tcl/Tk headers and or libraries installed,
  or they are not in a standard path.  Try using configure options
  --with-tcl=<DIR> and --with-tk=<DIR>.

-----------------------------------------------------------

Use 'make' to compile and 'make install' to install.

Errors may not be printed to stdout:  see files 'make.log' 
  and 'install.log' for complete error summary.

-----------------------------------------------------------

WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.