summaryrefslogtreecommitdiff
path: root/databases/mysql50-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql50-server/Makefile')
-rw-r--r--databases/mysql50-server/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 551928682032..cdf6674d969d 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-DISTNAME= mysql-3.22.25
+DISTNAME= mysql-3.22.26a
PKGNAME?= ${DISTNAME:S/-/-server-/}
CATEGORIES= databases
MASTER_SITES= http://www.fh-wolfenbuettel.de/ftp/pub/database/mysql/Downloads/MySQL-3.22/ \
@@ -31,6 +31,9 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \
--without-debug \
--without-readline \
--without-bench
+.if ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+=--enable-assembler
+.endif
CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
@@ -92,6 +95,10 @@ pre-fetch:
@${ECHO}
.endif
+post-patch:
+ ${MV} ${WRKSRC}/strings/strings.s ${WRKSRC}/strings/strings.S
+ ${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
+
pre-install:
.if !defined(PACKAGE_BUILDING) && exists(${DB_DIR}) && !defined(OVERWRITE_DB)
@${ECHO} "You appear to already have a mysql database directory in ${DB_DIR}."