From owner-freebsd-ports Tue Feb 27 12: 8: 4 2001 Delivered-To: freebsd-ports@freebsd.org Received: from babylon.merseine.nu (c418236-a.clmba1.mo.home.com [24.12.203.134]) by hub.freebsd.org (Postfix) with ESMTP id 00F9037B719 for ; Tue, 27 Feb 2001 12:08:01 -0800 (PST) (envelope-from ishmael@babylon.merseine.nu) Received: (from ishmael@localhost) by babylon.merseine.nu (8.11.2/8.11.2) id f1RK9ha67472; Tue, 27 Feb 2001 14:09:43 -0600 (CST) (envelope-from ishmael) Date: Tue, 27 Feb 2001 14:09:43 -0600 From: Jeremy Norris To: Glenn Johnson Cc: ports@FreeBSD.ORG Subject: Re: XFree86 4.0.2 mess Message-ID: <20010227140943.A67410@babylon.merseine.nu> References: <20010227115106.A79382@gforce.homelan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010227115106.A79382@gforce.homelan.net>; from glennpj@charter.net on Tue, Feb 27, 2001 at 11:51:06AM -0600 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You can try manually adding: CONFIGURE_ENV= CPPFLAGS="-D_THREAD_SAFE -D_REENTRANT" \ LDFLAGS="-pthread" to the port's Makefile. Failing that, manually edit the configure script: wherever you see -lGL add -pthread after it. Jeremy On Tue, Feb 27, 2001 at 11:51:06AM -0600, Glenn Johnson wrote: > Can someone please tell me what magic needs to be performed to get > applications to build with XFree86-4.0.2? The new kdebase2 port is > the latest one that will not build. I managed to get kdesupport2 > and kdelibs2 to compile by placing -pthread in the LDFLAGS lines of > configure and of a few Makefile.am files but I can not even get kdebase2 > to configure: > > conftest.C: In function `int main()': > conftest.C:20: warning: unused variable `int magnolia' > conftest.C:15: warning: unused variable `class QStringList * t' > /usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_getspecific' > /usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_key_create' > /usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_setspecific' > > The configure script is getting generated anew with each invocation and > I can not figure out where to stick the -pthread. > > -- > Glenn Johnson > glennpj@charter.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message