aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql60-server/Makefile
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-09-17 19:51:56 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-09-17 19:51:56 +0000
commitca7f72dba1f77900bf701ac2b2a00f9ec6a5c824 (patch)
treeda6ea187cc0b2577dc226457ae15d448167edefd /databases/mysql60-server/Makefile
parent07f77bbccee4a56fa28a74b7f1f7ecf00973ae54 (diff)
downloadports-ca7f72dba1f77900bf701ac2b2a00f9ec6a5c824.tar.gz
ports-ca7f72dba1f77900bf701ac2b2a00f9ec6a5c824.zip
Notes
Diffstat (limited to 'databases/mysql60-server/Makefile')
-rw-r--r--databases/mysql60-server/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 551928682032..cdf6674d969d 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-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}."