=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
=> Checksum SHA1 OK for qgis-1.7.4.tar.bz2
=> Checksum RMD160 OK for qgis-1.7.4.tar.bz2
===> Installing dependencies for qgis-1.7.4nb4
==========================================================================
The supported build options for qgis are:

	python

The currently selected options are:

	python

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

	PKG_OPTIONS.qgis (not defined)

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

        * GIFLIB_IMPLEMENTATION = giflib
        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 27
        * SSLBASE (defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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

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

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 libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8
=> Build dependency bison>=1.0: found bison-2.6.2
=> Build dependency cmake>=2.8.1nb1: found cmake-2.8.8
=> Build dependency perl>=5.0: found perl-5.14.2nb5
=> Build dependency f2c>=20090411nb2: found f2c-20100903
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.6
=> Build dependency xproto>=7.0.9: found xproto-7.0.23
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.7.1nb1
=> Build dependency fixesproto>=3.0.0: found fixesproto-5.0
=> Build dependency xextproto>=7.0: found xextproto-7.2.1
=> Build dependency inputproto>=1.4: found inputproto-2.2
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency randrproto>=1.2.0: found randrproto-1.4.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency python27>=2.7.1nb2: found python27-2.7.3
=> Full dependency py27-qt4>=4.4.4: found py27-qt4-4.9.4
=> Full dependency py27-sip>=4.11: found py27-sip-4.13.3
=> Full dependency gdal-lib>=1.9.1nb1: found gdal-lib-1.9.1nb1
=> Full dependency proj>=4.4.7nb2: found proj-4.8.0
=> Full dependency tiff>=4.0.0: found tiff-4.0.2nb1
=> Full dependency gsl>=1.5nb1: found gsl-1.15
=> Full dependency expat>=2.0.0nb1: found expat-2.1.0
=> Full dependency fcgi>=2.4.0nb1: found fcgi-2.4.0nb1
=> Full dependency qt4-libs>=4.8.0nb4: found qt4-libs-4.8.2
=> Full dependency qt4-tools>=4.8.0nb2: found qt4-tools-4.8.2
=> Full dependency qwt>=5.2.2nb3: found qwt-6.0.1nb1
=> Full dependency libf2c>=20090201nb3: found libf2c-20090201nb3
===> Overriding tools for qgis-1.7.4nb4
===> Extracting for qgis-1.7.4nb4
===> Patching for qgis-1.7.4nb4
=> Applying pkgsrc patches for qgis-1.7.4nb4
===> Creating toolchain wrappers for qgis-1.7.4nb4
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/tmp/pkgsrc/geography/qgis/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /tmp/pkgsrc/geography/qgis/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for qgis-1.7.4nb4
cd /tmp/pkgsrc/geography/qgis/work/qgis-1.7.4 && /bin/rm -f cmake/FindGDAL.cmake
=> Fixing locale directory references.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 4.5.2
-- The CXX compiler identification is GNU 4.5.2
CMake Warning (dev) at /usr/pkg/share/cmake-2.8/Modules/Platform/Linux.cmake:51 (INCLUDE):
  File /usr/pkg/share/cmake-2.8/Modules/Platform/Linux.cmake includes
  /tmp/pkgsrc/geography/qgis/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-2.8/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)
  CMakeLists.txt:7 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /tmp/pkgsrc/geography/qgis/work/.wrapper/bin/gcc
-- Check for working C compiler: /tmp/pkgsrc/geography/qgis/work/.wrapper/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /tmp/pkgsrc/geography/qgis/work/.wrapper/bin/g++
-- Check for working CXX compiler: /tmp/pkgsrc/geography/qgis/work/.wrapper/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Quantum GIS version: 1.7.4 Wroclaw (10704)
-- Could not find GRASS
CMake Error at cmake/Flex.cmake:21 (MESSAGE):
  flex not found - aborting
Call Stack (most recent call first):
  CMakeLists.txt:106 (FIND_FLEX)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/geography/qgis
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/geography/qgis