Date: Tue, 11 Oct 2011 22:36:35 +0400 From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: Zhihao Yuan <lichray@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Vim does not build with ruby19 (since ruby19 does not install the ruby command) Message-ID: <4E948CB3.2010101@yandex.ru> In-Reply-To: <CAGsORuDGOHY5zfVx3%2BpKNF6XCW__JDhFGZihGVCb-gSJQKwCTA@mail.gmail.com> References: <CAGsORuDGOHY5zfVx3%2BpKNF6XCW__JDhFGZihGVCb-gSJQKwCTA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Zhihao Yuan wrote on 11.10.2011 17:56: > Hi, > > I specified RUBY_DEFAULT_VER=1.9 in /etc/make.conf, and rebuild everything > relates to ruby, and I found the successfully built Vim lacks of the ruby > support. > > By default, vim requires the 'ruby' command when building WITH_RUBY=1, but > ruby19 does not install the command. > > One solution is that to install the command as a symbol link, and mark > ruby-1.8 and ruby-1.9 as conflicts. > > Another one only works for vim, to set the '--with-ruby-command=ruby19' as a > configure args. > > Any comments? > I'd check if we already have ${PREFIX}/bin/ruby, and if not - install symlink. If ${PREFIX}/bin/ruby is already there - install just ruby1X. This can be added to both ruby ports. -- Regards, Ruslan Tinderboxing kills... the drives.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E948CB3.2010101>