From owner-freebsd-ports Mon Mar 16 01:18:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA02723 for freebsd-ports-outgoing; Mon, 16 Mar 1998 01:18:22 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from ghpc8.ihf.rwth-aachen.de (ghpc8.ihf.RWTH-Aachen.DE [134.130.90.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA02714; Mon, 16 Mar 1998 01:18:16 -0800 (PST) (envelope-from tg@ghpc8.ihf.rwth-aachen.de) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.rwth-aachen.de [134.130.90.6]) by ghpc8.ihf.rwth-aachen.de (8.8.7/8.8.6) with ESMTP id KAA08431; Mon, 16 Mar 1998 10:18:13 +0100 (CET) Received: (from tg@localhost) by ghpc6.ihf.rwth-aachen.de (8.8.8/8.8.5) id KAA13691; Mon, 16 Mar 1998 10:18:12 +0100 (CET) To: Tom Cc: Gary Palmer , Scot Elliott , ports@FreeBSD.ORG Subject: mysql port (was: Re: include libc_r in 2.2.6) References: From: Thomas Gellekum Date: 16 Mar 1998 10:18:11 +0100 In-Reply-To: Tom's message of "Fri, 13 Mar 1998 13:59:19 -0800 (PST)" Message-ID: <87u38z56zw.fsf@ghpc6.ihf.rwth-aachen.de> Lines: 41 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tom writes: > > > The "missing lib" is not a port, so the ports collection can't install > > > it. libc_r is part of 2.2.5-stable tree. Its just not compiled by > > > default. > > > > Ok, so in the case that libc_r is missing, you fall back to using > > pthreads, which the port is already using (or so I assume from other > > posts) > > mit-pthreads actually. However, using mit-phreads results in a slower, > somewhat crippled build of MySQL. However, the fact that MySQL bundles > in mit-pthreads in nice. The LDAP stuff only works with libc_r though. How about these changes for now? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/mysql/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- Makefile 1998/03/16 02:45:39 1.17 +++ Makefile 1998/03/16 09:14:21 @@ -24,8 +24,14 @@ --with-MAKE=gmake \ --without-perl \ --without-debug \ - --without-readline + --without-readline ${WITH_LIBC_R} CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" + +.if exists(/usr/lib/libc_r.a) +WITH_LIBC_R= --with-named-thread-libs=-lc_r \ + --enable-thread-safe-client +CFLAGS+= -D_THREAD_SAFE +.endif pre-install: .if defined(PACKAGE_BUILDING) tg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message