aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql41-client
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-02-08 06:35:56 +0800
committerdirk <dirk@FreeBSD.org>1999-02-08 06:35:56 +0800
commit83da2b076eb33590c4cb24f15d198a9dd6747e91 (patch)
treef80faa95578e075ce31ffaacd542426552e36665 /databases/mysql41-client
parent8a09177e85879df4ef0979a507ac350c189aba11 (diff)
downloadfreebsd-ports-gnome-83da2b076eb33590c4cb24f15d198a9dd6747e91.tar.gz
freebsd-ports-gnome-83da2b076eb33590c4cb24f15d198a9dd6747e91.tar.zst
freebsd-ports-gnome-83da2b076eb33590c4cb24f15d198a9dd6747e91.zip
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.*.
Diffstat (limited to 'databases/mysql41-client')
-rw-r--r--databases/mysql41-client/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/mysql41-client/Makefile b/databases/mysql41-client/Makefile
index d0cf81ba998d..7caf58be1ccf 100644
--- a/databases/mysql41-client/Makefile
+++ b/databases/mysql41-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: