=> 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 mod_python-2.7.11.tgz
=> Checksum RMD160 OK for mod_python-2.7.11.tgz
===> Installing dependencies for ap13-py31-python-2.7.11
==========================================================================
The following variables will affect the build process of this package,
ap13-py31-python-2.7.11.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 26

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

        * PYPACKAGE = python31

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 pax>=20040802: found pax-20080110
=> Build dependency perl>=5.0: found perl-5.14.2nb1
=> Build dependency apache-1.3.*: found apache-1.3.42
=> Build dependency apache>=1.3.34nb5: found apache-1.3.42
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency python31>=3.1: found python31-3.1.4nb1
===> Overriding tools for ap13-py31-python-2.7.11
===> Extracting for ap13-py31-python-2.7.11
===> Patching for ap13-py31-python-2.7.11
=> Applying pkgsrc patches for ap13-py31-python-2.7.11
===> Creating toolchain wrappers for ap13-py31-python-2.7.11
===> Configuring for ap13-py31-python-2.7.11
=> 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
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/python3.1/config -Wl,-R/usr/pkg/lib/python3.1/config -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (gcc -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/python3.1/config -Wl,-R/usr/pkg/lib/python3.1/config -L/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD compatible install... /usr/bin/install -c -o pbulk -g pbulk
checking whether make sets ${MAKE}... yes
checking for main in -lm... yes
checking for working const... yes
checking your blood pressure... a bit high, but we can proceed
checking whether apxs is available
checking for --with-apxs... /usr/pkg/sbin/apxs executable, good
checking for Apache libexec directory... Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
/usr/pkg/lib/httpd
checking for Apache include directory... Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
-I/usr/pkg/include/httpd
checking for --with-apache... no
configure: warning: **** No apache sources specified, static compilation will not be available.
configure: warning: **** You can use --with-apache to specify where your Apache sources are.
checking for --with-python... no
checking for python... /usr/pkg/bin/python3.1
checking Python version...   File "<string>", line 1
    import sys; print sys.version[:3]
                        ^
SyntaxError: invalid syntax

checking whether Python is compiled with thread support...   File "<string>", line 1
    import sys; print "thread" in sys.builtin_module_names
                             ^
SyntaxError: invalid syntax
no threads, good
checking Python install prefix...   File "<string>", line 1
    import sys; print sys.exec_prefix
                        ^
SyntaxError: invalid syntax

checking what libraries Python was linked with... grep: /lib/python/config/Makefile: No such file or directory
grep: /lib/python/config/Makefile: No such file or directory
/lib/python/config/libpython.a  
checking linker flags used to link Python... grep: /lib/python/config/Makefile: No such file or directory
grep: /lib/python/config/Makefile: No such file or directory

checking where Python include files are... -I/include/python
checking for mkdep... (cached) no
checking for makedepend... (cached) no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/libpython.module
creating Doc/Makefile