$OpenBSD: patch-configure,v 1.2 2008/02/07 02:53:35 merdely Exp $
--- configure.orig	Fri Nov 30 16:32:48 2007
+++ configure	Sun Jan 27 12:46:08 2008
@@ -3262,7 +3262,7 @@ else
 echo "${ECHO_T}no" >&6
 fi
 
-if test ! -e $CXX; then
+if test ! -e `which $CXX`; then
    { { echo "$as_me:$LINENO: error: Unable to find C++ compiler" >&5
 echo "$as_me: error: Unable to find C++ compiler" >&2;}
    { (exit 1); exit 1; }; }
@@ -30401,6 +30401,7 @@ openbsd)
 	    platforms/openbsd/bacula-fd \
 	    platforms/openbsd/bacula-sd \
 	    platforms/openbsd/bacula-dir"
+	largefile_support="yes"
   ;;
 redhat)
 	if test -f /etc/whitebox-release ; then
@@ -32221,7 +32222,7 @@ if test "${support_bat}" = "yes" ; then
   QMAKEBIN="qmake"
 
   if test "x$QMAKEQT4" != "xnone"; then
-    QMAKEBIN=qmake-qt4
+    QMAKEBIN=${QMAKEQT4}
   fi
 
 
