aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql60-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-11-11 06:22:17 +0800
committerdirk <dirk@FreeBSD.org>2002-11-11 06:22:17 +0800
commitdb08204ebef840488ed66072fd9a9e8e9a0dca09 (patch)
tree504272b8b490a2951be621caca42fb78c986ff9c /databases/mysql60-server
parent1d1da22714920ff9126d243d766ee826f68e4929 (diff)
downloadfreebsd-ports-gnome-db08204ebef840488ed66072fd9a9e8e9a0dca09.tar.gz
freebsd-ports-gnome-db08204ebef840488ed66072fd9a9e8e9a0dca09.tar.zst
freebsd-ports-gnome-db08204ebef840488ed66072fd9a9e8e9a0dca09.zip
FreeBSD has broken realpath(3), too.
PR: ports/44784 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
Diffstat (limited to 'databases/mysql60-server')
-rw-r--r--databases/mysql60-server/Makefile2
-rw-r--r--databases/mysql60-server/files/patch-configure24
2 files changed, 17 insertions, 9 deletions
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index b95e0453421d..3f507e4537b2 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.53
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
diff --git a/databases/mysql60-server/files/patch-configure b/databases/mysql60-server/files/patch-configure
index 0d5af7e9bed6..29f1b9ed960f 100644
--- a/databases/mysql60-server/files/patch-configure
+++ b/databases/mysql60-server/files/patch-configure
@@ -1,5 +1,5 @@
--- configure.orig Thu Oct 10 12:17:48 2002
-+++ configure Mon Oct 21 10:29:54 2002
++++ configure Sun Nov 10 23:07:01 2002
@@ -4222,7 +4222,7 @@
;;
esac
@@ -54,7 +54,15 @@
echo "$as_me:4438: result: \"$FIND_PROC\"" >&5
echo "${ECHO_T}\"$FIND_PROC\"" >&6
-@@ -8090,7 +8054,6 @@
+@@ -7420,6 +7384,7 @@
+ ;;
+ *freebsd*)
+ echo "Adding fix for interrupted reads"
++ CFLAGS="$CFLAGS -DHAVE_BROKEN_REALPATH"
+ CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000"
+ ;;
+ *netbsd*)
+@@ -8090,7 +8055,6 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -62,7 +70,7 @@
cat >conftest.$ac_ext <<_ACEOF
#line 8095 "configure"
#include "confdefs.h"
-@@ -8138,7 +8101,6 @@
+@@ -8138,7 +8102,6 @@
#define HAVE_LIBC_R 1
EOF
@@ -70,7 +78,7 @@
fi
-@@ -8495,29 +8457,6 @@
+@@ -8495,29 +8458,6 @@
fi
@@ -100,7 +108,7 @@
# Check whether --with-debug or --without-debug was given.
if test "${with_debug+set}" = set; then
withval="$with_debug"
-@@ -10249,10 +10188,6 @@
+@@ -10249,10 +10189,6 @@
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
@@ -111,7 +119,7 @@
mysql_cv_btype_last_arg_accept=none
cat >conftest.$ac_ext <<_ACEOF
#line 10258 "configure"
-@@ -12922,14 +12857,6 @@
+@@ -12922,14 +12858,6 @@
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
@@ -126,7 +134,7 @@
cat >conftest.$ac_ext <<_ACEOF
#line 12934 "configure"
#include "confdefs.h"
-@@ -13006,10 +12933,6 @@
+@@ -13006,10 +12934,6 @@
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
@@ -137,7 +145,7 @@
cat >conftest.$ac_ext <<_ACEOF
#line 13014 "configure"
#include "confdefs.h"
-@@ -13085,10 +13008,6 @@
+@@ -13085,10 +13009,6 @@
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu