Status of migration to ruby 1.9 as default

Eric freebsdports at chillibear.com
Thu Aug 4 19:58:43 UTC 2011


> 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




More information about the freebsd-ruby mailing list