openbsd-ports/sysutils/bacula/patches/patch-configure
merdely c74b337ec9 Update bacula to 3.0.2:
* Shared objects
	* Virtual backups
	* Duplicate Job Control
	* TLS Authentication
	* Exclude Dir Containing = <filename-string>
	* Plugins including Exchange 2003/2007 Plugin
	* libdbi backend abstraction
	* Bat enhancements

Upgrading from 2.4.4 to 3.0.2 requires updating the database using
/usr/local/libexec/bacula/update_bacula_database.  Database upgrades
from older databases can be done with other scripts in
/usr/local/libexec/bacula/updatedb.  You can determine your database
version in mysql and postgresql with 'select * from version'.

As sthen@ reminded me and the documentation points out, when upgrading
between major versions (2.x.x -> 3.x.x), you should upgrade all of your
components at the same time due to protocol changes.

a *lot* of help from and ok sthen@
2009-10-02 02:34:05 +00:00

56 lines
1.8 KiB
Plaintext

$OpenBSD: patch-configure,v 1.5 2009/10/02 02:34:05 merdely Exp $
--- configure.orig Fri Jul 10 15:12:39 2009
+++ configure Mon Sep 21 20:59:33 2009
@@ -4239,7 +4239,7 @@ 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; }; }
@@ -42224,13 +42224,13 @@ _ACEOF
fi
PTHREAD_LIB=""
-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -42286,7 +42286,7 @@ fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
if test $ac_cv_lib_pthread_pthread_create = yes; then
- PTHREAD_LIB="-lpthread"
+ PTHREAD_LIB="-pthread"
else
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthreads" >&5
@@ -42715,6 +42715,7 @@ openbsd)
platforms/openbsd/bacula-fd \
platforms/openbsd/bacula-sd \
platforms/openbsd/bacula-dir"
+ largefile_support="yes"
;;
redhat)
ping -c 1 $hostname 2>&1 1>/dev/null
@@ -45729,7 +45730,7 @@ echo "$as_me: error: Could not find qmake or qmake-qt4
QMAKEBIN="qmake"
if test "x$QMAKEQT4" != "xnone"; then
- QMAKEBIN=qmake-qt4
+ QMAKEBIN=${QMAKEQT4}
fi
cd src/qt-console