- yes -> Yes

- turn on threads support for client programs
This commit is contained in:
brad 2000-02-16 19:01:20 +00:00
parent 4f56274946
commit 37bcd0929b

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2000/02/15 07:36:39 brad Exp $ # $OpenBSD: Makefile,v 1.18 2000/02/16 19:01:20 brad Exp $
# $FreeBSD: Makefile,v 1.44 1999/03/04 21:27:58 dirk Exp $ # $FreeBSD: Makefile,v 1.44 1999/03/04 21:27:58 dirk Exp $
DISTNAME= mysql-3.22.32 DISTNAME= mysql-3.22.32
@ -12,13 +12,15 @@ MASTER_SITES= http://web.tryc.on.ca/mysql/Downloads/MySQL-3.22/ \
http://mysql.pingzero.net/Downloads/MySQL-3.22/ \ http://mysql.pingzero.net/Downloads/MySQL-3.22/ \
ftp://ftp.digex.net/pub/packages/database/mysql/Downloads/MySQL-3.22/ ftp://ftp.digex.net/pub/packages/database/mysql/Downloads/MySQL-3.22/
NEED_VERSION= 1.73
MAINTAINER= brad@openbsd.org MAINTAINER= brad@openbsd.org
LICENSE_TYPE= COPY LICENSE_TYPE= COPY
PERMIT_PACKAGE_CDROM= yes PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= yes PERMIT_DISTFILES_FTP= Yes
.if ${MACHINE_ARCH} == "sparc" .if ${MACHINE_ARCH} == "sparc"
BROKEN= "pthreads are currently not working SPARC" BROKEN= "pthreads are currently not working SPARC"
@ -26,14 +28,17 @@ BROKEN= "pthreads are currently not working SPARC"
DB_DIR?= /var/mysql DB_DIR?= /var/mysql
GNU_CONFIGURE= yes GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --localstatedir="${DB_DIR}" \ CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
--without-perl \ CONFIGURE_ARGS+= --enable-static \
--without-debug \ --enable-thread-safe-client \
--without-readline \ --localstatedir="${DB_DIR}" \
--without-bench \ --without-perl \
--without-mit-threads \ --without-debug \
--with-unix-socket-path="${DB_DIR}/mysql.sock" --without-readline \
--without-bench \
--without-mit-threads \
--with-unix-socket-path="${DB_DIR}/mysql.sock"
CONFIGURE_ENV= CFLAGS="${CFLAGS} -pthread" \ CONFIGURE_ENV= CFLAGS="${CFLAGS} -pthread" \
CXXFLAGS="${CXXFLAGS} -pthread" CXXFLAGS="${CXXFLAGS} -pthread"