2000-07-03 22:49:34 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2000/07/04 02:49:34 krw Exp $
|
1999-04-01 01:20:02 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.44 1999/03/04 21:27:58 dirk Exp $
|
1999-03-30 01:42:47 -05:00
|
|
|
|
2000-04-07 15:07:20 -04:00
|
|
|
#BROKEN= installs files automatically in /etc
|
2000-03-03 06:25:05 -05:00
|
|
|
|
2000-02-14 16:28:05 -05:00
|
|
|
DISTNAME= mysql-3.22.32
|
1999-03-30 01:42:47 -05:00
|
|
|
CATEGORIES= databases
|
2000-07-03 22:49:34 -04:00
|
|
|
NEED_VERSION= 1.310
|
2000-01-13 15:24:57 -05:00
|
|
|
MASTER_SITES= http://web.tryc.on.ca/mysql/Downloads/MySQL-3.22/ \
|
1999-05-11 17:25:17 -04:00
|
|
|
http://mysql.he.net/Downloads/MySQL-3.22/ \
|
|
|
|
http://www.buoy.com/mysql/Downloads/MySQL-3.22/ \
|
|
|
|
ftp://ftp.netcasting.net/pub/mysql/Downloads/MySQL-3.22/ \
|
|
|
|
http://www.mysql.net/Downloads/MySQL-3.22/ \
|
|
|
|
http://www.gina.net/mysql/Downloads/MySQL-3.22/ \
|
|
|
|
http://mysql.pingzero.net/Downloads/MySQL-3.22/ \
|
2000-01-01 00:54:12 -05:00
|
|
|
ftp://ftp.digex.net/pub/packages/database/mysql/Downloads/MySQL-3.22/
|
1999-03-30 01:42:47 -05:00
|
|
|
|
2000-06-25 00:53:10 -04:00
|
|
|
HOMEPAGE= http://www.mysql.com/
|
|
|
|
|
2000-01-05 01:13:43 -05:00
|
|
|
MAINTAINER= brad@openbsd.org
|
1999-03-30 01:42:47 -05:00
|
|
|
|
2000-02-16 14:01:20 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-14 17:32:08 -05:00
|
|
|
|
1999-06-03 10:06:32 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
2000-03-31 01:10:35 -05:00
|
|
|
BROKEN= "pthreads are currently not working on the SPARC architecture"
|
1999-06-03 10:06:32 -04:00
|
|
|
.endif
|
|
|
|
|
2000-06-25 00:53:10 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-02-16 14:01:20 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static \
|
2000-04-07 15:07:20 -04:00
|
|
|
--localstatedir="/var/mysql" \
|
2000-02-16 14:01:20 -05:00
|
|
|
--without-perl \
|
|
|
|
--without-debug \
|
|
|
|
--without-readline \
|
|
|
|
--without-bench \
|
|
|
|
--without-mit-threads \
|
2000-04-07 15:07:20 -04:00
|
|
|
--with-unix-socket-path="/var/mysql/mysql.sock"
|
2000-02-11 02:42:07 -05:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -pthread" \
|
2000-02-11 02:56:30 -05:00
|
|
|
CXXFLAGS="${CXXFLAGS} -pthread"
|
1999-03-30 01:42:47 -05:00
|
|
|
|
2000-01-01 00:54:12 -05:00
|
|
|
pre-build:
|
|
|
|
@echo ""
|
|
|
|
@echo "*** WARNING: you may see an error such as"
|
|
|
|
@echo "*** virtual memory exhausted"
|
|
|
|
@echo "*** when building this package. If you do you must increase"
|
|
|
|
@echo "*** your limits. See the man page for your shell and look"
|
|
|
|
@echo "*** for the 'limit' or 'ulimit' command."
|
|
|
|
@echo ""
|
|
|
|
|
1999-03-30 01:42:47 -05:00
|
|
|
post-install:
|
2000-01-03 03:36:19 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql/Img
|
2000-04-08 01:40:07 -04:00
|
|
|
@rm -f ${WRKDIR}/startup.sh
|
|
|
|
@sed -e "s|@PREFIX@|${TRUEPREFIX}|" ${FILESDIR}/startup.sh > ${WRKDIR}/startup.sh
|
1999-12-01 22:47:36 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/startup.sh ${PREFIX}/lib/mysql
|
2000-01-03 03:36:19 -05:00
|
|
|
cd ${WRKSRC}/Docs; ${INSTALL_DATA} manual.html manual.ps \
|
|
|
|
manual_toc.html manual.txt ${PREFIX}/share/doc/mysql
|
2000-01-01 00:54:12 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Docs/Img/*.gif ${PREFIX}/share/doc/mysql/Img
|
1999-03-30 01:42:47 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|