From owner-freebsd-current@FreeBSD.ORG Sat Sep 20 17:25:45 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07E0516A4B3 for ; Sat, 20 Sep 2003 17:25:45 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0082943FD7 for ; Sat, 20 Sep 2003 17:25:44 -0700 (PDT) (envelope-from hetzelsw@westbend.net) Received: from Admin02 (admin02.westbend.net [216.47.253.19]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h8L0Pe2a024320; Sat, 20 Sep 2003 19:25:40 -0500 (CDT) (envelope-from hetzelsw@westbend.net) Message-ID: <003201c37fd6$e2e0fb70$13fd2fd8@Admin02> From: "Scot W. Hetzel" To: "Dan Naumov" , References: <1064101768.13585.4.camel@localhost.localdomain> Date: Sat, 20 Sep 2003 19:25:34 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=0.5 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_05_08, USER_AGENT_OE version=2.43 Subject: Re: Getting -pthread support back into local source tree X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2003 00:25:45 -0000 From: "Dan Naumov" > Seeing as -pthread support has been removed from -CURRENT breaking > _LOTS_ of ports, is it possible to "get it back" into a local source > tree ? If so, how ? Thanks in advance. > All you need to do is add: CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS} \ PTHREAD_CFLAGS=${PTHREAD_CFLAGS} To the port that is broken by having -pthread support removed, then compile the port. If it still fails to compile, then you'll need to add a sed command to the port that replaces -pthread with ${PTHREAD_LIBS} and -DTHREAD_SAFE with ${PTHREAD_LIBS} in the configure script or the Makefiles. After you have it working, send-pr your patch to gnats and the port maintainer. This is the only way to get these problems fixed, if the port maintainer doesn't have time to fix the port to work on -CURRENT. Scot