diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2003-05-22 23:15:15 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2003-05-22 23:15:15 +0000 |
commit | 5f50990eced5d6a878875b2b4df31cc35010e49c (patch) | |
tree | ec65e3b9f628cdc8d66dc375efd717533e35f098 /databases/mysql51-server | |
parent | 355c47d5118677c578d6889a92e4200cdbfd1403 (diff) | |
download | ports-5f50990eced5d6a878875b2b4df31cc35010e49c.tar.gz ports-5f50990eced5d6a878875b2b4df31cc35010e49c.zip |
Notes
Diffstat (limited to 'databases/mysql51-server')
-rw-r--r-- | databases/mysql51-server/Makefile | 2 | ||||
-rw-r--r-- | databases/mysql51-server/files/patch-configure | 29 |
2 files changed, 25 insertions, 6 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile index 145b1ac72405..13383997dd60 100644 --- a/databases/mysql51-server/Makefile +++ b/databases/mysql51-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mysql PORTVERSION= 4.1.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases MASTER_SITES= ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQL-4.1/ \ http://mysql.tzone.it/Downloads/MySQL-4.1/ \ diff --git a/databases/mysql51-server/files/patch-configure b/databases/mysql51-server/files/patch-configure index fdee2e7c639d..d0ecd4995cb0 100644 --- a/databases/mysql51-server/files/patch-configure +++ b/databases/mysql51-server/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.orig Tue Feb 25 21:30:07 2003 -+++ configure Thu Feb 27 12:42:12 2003 +--- configure.orig Thu Apr 3 14:16:29 2003 ++++ configure Fri May 23 01:05:46 2003 @@ -8101,6 +8101,7 @@ # This can be used to rebuild libtool when needed @@ -8,7 +8,7 @@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' -@@ -9044,7 +9045,7 @@ +@@ -9043,7 +9044,7 @@ ;; esac fi @@ -17,7 +17,7 @@ if test -n "$HOSTNAME"; then echo "$as_me:$LINENO: result: $HOSTNAME" >&5 -@@ -9236,43 +9237,8 @@ +@@ -9235,43 +9236,8 @@ echo "$as_me:$LINENO: checking \"how to check if pid exists\"" >&5 echo $ECHO_N "checking \"how to check if pid exists\"... $ECHO_C" >&6 PS=$ac_cv_path_PS @@ -61,7 +61,26 @@ echo "$as_me:$LINENO: result: \"$FIND_PROC\"" >&5 echo "${ECHO_T}\"$FIND_PROC\"" >&6 -@@ -22310,7 +22276,7 @@ +@@ -12752,8 +12718,16 @@ + ;; + *freebsd*) + echo "Adding fix for interrupted reads" +- CFLAGS="$CFLAGS -DHAVE_BROKEN_REALPATH" +- CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000 -DHAVE_BROKEN_REALPATH" ++ OSVERSION=`/sbin/sysctl -a | /usr/bin/grep osreldate | /usr/bin/awk '{ print $2 }'` ++ if test "$OSVERSION" -gt "480100" && \ ++ test "$OSVERSION" -lt "500000" || \ ++ test "$OSVERSION" -gt "500109" ++ then ++ CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000" ++ else ++ CFLAGS="$CFLAGS -DHAVE_BROKEN_REALPATH" ++ CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000 -DHAVE_BROKEN_REALPATH" ++ fi + ;; + *netbsd*) + echo "Adding flag -Dunix" +@@ -23545,7 +23519,7 @@ /* ) rel_srcdir="$srcdir" ;; * ) rel_srcdir="../$srcdir" ;; esac |