From owner-freebsd-ruby@FreeBSD.ORG Thu Aug 4 19:58:43 2011 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7968106566B for ; Thu, 4 Aug 2011 19:58:43 +0000 (UTC) (envelope-from freebsdports@chillibear.com) Received: from mail.sundive.org (mail.sundive.org [212.13.197.214]) by mx1.freebsd.org (Postfix) with ESMTP id 9850B8FC0C for ; Thu, 4 Aug 2011 19:58:43 +0000 (UTC) Received: from [87.113.220.226] (helo=[192.168.0.44]) by sundive.org with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Qp3PX-000LnW-B3; Thu, 04 Aug 2011 20:17:02 +0100 User-Agent: Microsoft-Entourage/12.30.0.110427 Date: Thu, 04 Aug 2011 20:15:07 +0100 From: Eric To: Steve Wills , Dirk Meyer Message-ID: Thread-Topic: Status of migration to ruby 1.9 as default Thread-Index: AcxS2tI1iLtXf+MpMEGzv9OIJz5RZQ== In-Reply-To: <1EDB3524-A479-4FBA-BD85-191F1A73773C@mouf.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam: No X-bounce-key: sundive.org-1;freebsdports@chillibear.com;1312488016;afbabfcb; Cc: "freebsd-ruby@freebsd.org" Subject: Re: Status of migration to ruby 1.9 as default X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2011 19:58:43 -0000 > From: Steve Wills > >> Steve Wills schrieb:, >> >>> If you'd like to try to fix things, the possibly incomplete and/or >>> inaccurate list of ports that don't work with 1.9 is: >> >> I can't figure out how to add patches to a gem distribution >> so i can be build under FreeBSD ports again. >> >> Is there any exmaple or can we have a hook in bsd.ruby.mk? > > There isn't a way to do this right now. Some work is needed in bsd.ruby.mk. Probably not enough for what you have in mind, but the only (rather untidy) way I've done the odd very minor tweak to a Gem distribution is in a post-install section in the Makefile. See devel/rubygem-ncursesw as an example[1]. Not pretty, in general I try to get the fixes in upstream where possible. [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/rubygem-ncursesw/Makefile? rev=1.2