#!/usr/bin/env python
if __name__ == '__main__':
  import sys
  sys.path.insert(0, '/wrkdirs/usr/ports/math/petsc/work/petsc-2.3.3-p0/config')
  import configure
  configure_options = ['--with-cc=gcc46', '--CPPFLAGS=-I/usr/local/include', '--with-umfpack-lib=[/usr/local/lib/libumfpack.so, /usr/local/lib/libcholmod.so, /usr/local/lib/libcolamd.so, /usr/local/lib/libamd.so, /usr/local/lib/libsuitesparseconfig.so]', '--with-mpi=0', '--with-blas-lapack-lib=-L/usr/local/lib -llapack -lblas', '--with-parmetis=0', '--FOPTFLAGS=-O -O2 -Wl,-rpath=/usr/local/lib/gcc46', '--CXXOPTFLAGS=-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc46', '--with-shared=1', '--with-x-include=/usr/local/include', '--with-umfpack-include=/usr/local/include/suitesparse', '--COPTFLAGS=-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing', '-PETSC_ARCH=freebsd', '--prefix=/usr/local/petsc', '--LDFLAGS=-pthread', '--with-x-lib=/usr/local/lib/libX11.so', '--with-blocksolve95=0', '--with-fc=gfortran46']
  configure.petsc_configure(configure_options)
