From owner-cvs-ports@FreeBSD.ORG Sat Feb 5 06:30:40 2005 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7AB316A4CE; Sat, 5 Feb 2005 06:30:40 +0000 (GMT) Received: from lakermmtao01.cox.net (lakermmtao01.cox.net [68.230.240.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE49143D1F; Sat, 5 Feb 2005 06:30:39 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20050205063039.YSUY11542.lakermmtao01.cox.net@mezz.mezzweb.com>; Sat, 5 Feb 2005 01:30:39 -0500 To: "Akinori MUSHA" References: <200502050459.j154xROQ094820@repoman.freebsd.org> Message-ID: Date: Sat, 05 Feb 2005 00:31:27 -0600 From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200502050459.j154xROQ094820@repoman.freebsd.org> User-Agent: Opera M2/7.54 (Linux, build 955) cc: cvs-ports@freebsd.org cc: cvs-all@freebsd.org cc: ports-committers@freebsd.org Subject: Re: cvs commit: ports/Mk bsd.ruby.mk ports/lang Makefile ports UPDATING ports/lang/ruby18 Makefile pkg-plist ports/lang/ruby18_r Makefile ports/lang/ruby16 Makefile pkg-plist ports/lang/ruby16_r Makefile ports/devel/ruby-gnustep Makefile ... X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 06:30:41 -0000 On Sat, 5 Feb 2005 04:59:26 +0000 (UTC), Akinori MUSHA wrote: > knu 2005-02-05 04:59:26 UTC > > FreeBSD ports repository > > Modified files: > Mk bsd.ruby.mk > lang Makefile > . UPDATING > lang/ruby18 Makefile pkg-plist > lang/ruby16 Makefile pkg-plist > devel/ruby-gnustep Makefile > devel/ruby-pcsc-lite Makefile > devel/ruby-sdl Makefile > graphics/ruby-opengl Makefile > print/ruby-panda Makefile > textproc/ruby-sary Makefile > Removed files: > lang/ruby18_r Makefile > lang/ruby16_r Makefile > Log: > The slippery pthread support for systems prior to 502102 has been > dropped and the lang/ruby16_r and lang/ruby18_r ports have been > removed, since no one seems to appreciate the partially working > solution. > > Good news is that the pthread support of lang/ruby18 is now enabled by > default for newer systems, which means the ruby interpreter is linked > with libpthread. This will allow threaded extension libraries to run > and work properly on those systems. Thanks! But there is a very simple problem is that it uses '-lpthread', which it should be '-pthread' (${PTHREAD_LIBS}). Otherwise, everything works fine by default here with ruby-gtk2/ruby-gnome2 in FreeBSD 5.x. I have no idea for FreeBSD 4.x and it will be insteresting to know if they work, email me if one of you that have FreeBSD 4.x. Do I have to do same things on other ports that what you did with ruby-opengl and others that required pthread? Cheers, Mezz > The --march=cputype flag is disabled because it gets ruby to > malfunction and fail to build. I don't know if the problem is in > libpthread or in gcc. > > (It really makes me wonder if they had actually tested before asking > me to do this somewhat risky change ;-) -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org