ports/devel/subversion16/files/patch-configure
2013-02-14 09:42:12 +00:00

44 lines
2.2 KiB
Text

--- configure.orig 2011-02-22 23:46:15.000000000 +0100
+++ configure 2011-04-11 01:48:37.781008487 +0200
@@ -21458,8 +21458,8 @@
fi
if test "$withval" = "yes"; then
- if test "$apu_db_version" != "4"; then
- as_fn_error "APR-UTIL wasn't linked against Berkeley DB 4,
+ if test "$apu_db_version" != "4" -a "$apu_db_version" != "5"; then
+ as_fn_error "APR-UTIL wasn't linked against Berkeley DB 4 or 5,
while the fs component is required. Reinstall
APR-UTIL with the appropiate options." "$LINENO" 5
fi
@@ -21467,7 +21467,7 @@
status=required
elif test "$apu_found" != "reconfig"; then
- if test "$apu_db_version" != 4; then
+ if test "$apu_db_version" != 4 -a "$apu_db_version" != "5"; then
as_fn_error "APR-UTIL was installed independently, it won't be
possible to use the specified Berkeley DB: $withval" "$LINENO" 5
fi
@@ -21513,7 +21513,7 @@
whether apr-util is linked against Berkeley DB
$db_version" >&2;}
status=try-link
- elif test "$apu_db_version" != "4"; then
+ elif test "$apu_db_version" != "4" -a "$apu_db_version" != "5"; then
status=skip
else
status=try-link
@@ -22490,10 +22490,10 @@
SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
- CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
+ CXXFLAGS="$SVN_KWALLET_INCLUDES $CXXFLAGS"
LIBS="$LIBS $SVN_KWALLET_LIBS"
qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
- LDFLAGS="$old_LDFLAGS $qt_lib_dirs -L$kde_dir/lib`$kde4_config --libsuffix`"
+ LDFLAGS="$qt_lib_dirs -L$kde_dir/lib`$kde4_config --libsuffix` $old_LDFLAGS"
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'