--- configure.orig	2010-02-12 12:02:25.000000000 -0200
+++ configure	2010-03-06 21:40:16.000000000 -0300
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/local/bin/bash
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61.
 #
@@ -22548,10 +22548,10 @@
 
 
 # This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS=" %%LTMAIN%%"
 
 # Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
+LIBTOOL='$(SHELL) %%LIBTOOL%% --silent'
 
 # Prevent multiple expansion
 
@@ -34605,7 +34605,7 @@
     fi
     { echo "$as_me:$LINENO: result: $QTDIR" >&5
 echo "${ECHO_T}$QTDIR" >&6; }
-    ac_qmake=${QTDIR}/bin/qmake
+    ac_qmake="${QTDIR}/bin/qmake -spec freebsd-g++"
 
 # Check whether --with-qmake was given.
 if test "${with_qmake+set}" = set; then
