diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 1999-09-17 19:51:56 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 1999-09-17 19:51:56 +0000 |
commit | ca7f72dba1f77900bf701ac2b2a00f9ec6a5c824 (patch) | |
tree | da6ea187cc0b2577dc226457ae15d448167edefd /databases/mysql40-server/Makefile | |
parent | Linux needs a yp.conf file for NIS to work. Install a sample yp.conf so that (diff) |
- 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.
Notes
Notes:
svn path=/head/; revision=21697
Diffstat (limited to 'databases/mysql40-server/Makefile')
-rw-r--r-- | databases/mysql40-server/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index 551928682032..cdf6674d969d 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-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}." |