- yes -> Yes
- turn on threads support for client programs
This commit is contained in:
parent
4f56274946
commit
37bcd0929b
@ -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 $
|
||||
|
||||
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/ \
|
||||
ftp://ftp.digex.net/pub/packages/database/mysql/Downloads/MySQL-3.22/
|
||||
|
||||
NEED_VERSION= 1.73
|
||||
|
||||
MAINTAINER= brad@openbsd.org
|
||||
|
||||
LICENSE_TYPE= COPY
|
||||
PERMIT_PACKAGE_CDROM= yes
|
||||
PERMIT_PACKAGE_FTP= yes
|
||||
PERMIT_DISTFILES_CDROM= yes
|
||||
PERMIT_DISTFILES_FTP= yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
.if ${MACHINE_ARCH} == "sparc"
|
||||
BROKEN= "pthreads are currently not working SPARC"
|
||||
@ -26,14 +28,17 @@ BROKEN= "pthreads are currently not working SPARC"
|
||||
|
||||
DB_DIR?= /var/mysql
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --localstatedir="${DB_DIR}" \
|
||||
--without-perl \
|
||||
--without-debug \
|
||||
--without-readline \
|
||||
--without-bench \
|
||||
--without-mit-threads \
|
||||
--with-unix-socket-path="${DB_DIR}/mysql.sock"
|
||||
GNU_CONFIGURE= Yes
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static \
|
||||
--enable-thread-safe-client \
|
||||
--localstatedir="${DB_DIR}" \
|
||||
--without-perl \
|
||||
--without-debug \
|
||||
--without-readline \
|
||||
--without-bench \
|
||||
--without-mit-threads \
|
||||
--with-unix-socket-path="${DB_DIR}/mysql.sock"
|
||||
CONFIGURE_ENV= CFLAGS="${CFLAGS} -pthread" \
|
||||
CXXFLAGS="${CXXFLAGS} -pthread"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user