summaryrefslogtreecommitdiff
path: root/databases/mysql50-client
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-02-07 22:35:56 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-02-07 22:35:56 +0000
commitde0d39c4f762397b36a0399cfda039aecf78050a (patch)
tree4d5e69a5123e76d8293f55e5d14e3905c2983031 /databases/mysql50-client
parentUpgrade to version 1.9.3 (diff)
Cleanups:
- don't pollute CFLAGS with extra optimizer flags - remove part of patch-ac which forces -pthread instead of -lc_r (was included in the main distribution) - don't name freebsd version in mit-pthreads/config/configure explicitly. settings work for 2.*, 3.* and 4.*.
Notes
Notes: svn path=/head/; revision=16558
Diffstat (limited to 'databases/mysql50-client')
-rw-r--r--databases/mysql50-client/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/mysql50-client/Makefile b/databases/mysql50-client/Makefile
index d0cf81ba998d..7caf58be1ccf 100644
--- a/databases/mysql50-client/Makefile
+++ b/databases/mysql50-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.39 1999/01/05 23:43:27 dirk Exp $
+# $Id: Makefile,v 1.40 1999/02/01 16:52:15 dirk Exp $
#
DISTNAME= mysql-3.22.15-gamma
@@ -28,14 +28,15 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-bench
CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
- INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ CXXFLAGS="${CFLAGS}"
.include <bsd.port.pre.mk>
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
-CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
+CONFIGURE_ARGS+= --with-mit-threads=no
.else
-CONFIGURE_ARGS+= --with-mit-threads
+CONFIGURE_ARGS+= --with-mit-threads=yes
.endif
.if !defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
@@ -44,7 +45,8 @@ pre-fetch:
@${ECHO} "You may set NATIVE_THREADS (make NATIVE_THREADS=yes)"
@${ECHO} "to compile mysql with the native FreeBSD threads (libc_r)."
@${ECHO} "Warning: There are still some bugs in libc_r which prevent"
- @${ECHO} " 'mysqladmin shutdown' from working properly."
+ @${ECHO} " 'mysqladmin shutdown' from working properly and"
+ @${ECHO} " killing mysqld might not work."
@${ECHO}
.elif defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
pre-fetch: