summaryrefslogtreecommitdiffstats
path: root/databases/mysql60-server/Makefile
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-09-17 19:51:56 +0000
committerdirk <dirk@FreeBSD.org>1999-09-17 19:51:56 +0000
commitb31b6ad9dadc43cda4c4ec2d89468a5c6c963a62 (patch)
tree30d411b0bc713e737ce4438de3b8a4181c017e2b /databases/mysql60-server/Makefile
parentf4654f765b1b67934acafd3c19958d0d4c72d9a4 (diff)
downloadFreeBSD-ports-b31b6ad9dadc43cda4c4ec2d89468a5c6c963a62.zip
FreeBSD-ports-b31b6ad9dadc43cda4c4ec2d89468a5c6c963a62.tar.gz
- upgrade to 3.22.26a
- use --enable-assembler for ${ARCH}==i386 Requested by: Martin Nilsson <martin@filex.se> There is an annoying bug in gcc 2.7.2.*: If -pipe is used for .s files, gcc will "hang" forever, because the assembler is called with '-' and noone is sending data. As a workaround use .S (capital s) files. Then cpp will be called prior to as and thus a pipe can be build.
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 5519286..cdf6674 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}."
OpenPOWER on IntegriCloud