From owner-freebsd-ports@FreeBSD.ORG Tue Oct 11 19:31:22 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4F0E1065672 for ; Tue, 11 Oct 2011 19:31:22 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 57C728FC0A for ; Tue, 11 Oct 2011 19:31:22 +0000 (UTC) Received: by eyd10 with SMTP id 10so3485452eyd.13 for ; Tue, 11 Oct 2011 12:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uQw+CCTucsetMaUpvpv8gONzebuN/EGUP8egPpziGA4=; b=aLZ5sA26bXJ18cYER1cZXkO5xVdsDASpJs+T1dL8FJMo14GUdU6DoQTkKBCmCbvVt2 FKl8GlWpBRasuZUqgWfjQiAzAnN+vkELwMB4MqyuE2dr1N5zRbu4C21qD/5ADmjrAIgV yNVN0i31zB1F/ZkNFtigiHuSJ0anINQ7LVPlo= MIME-Version: 1.0 Received: by 10.213.32.19 with SMTP id a19mr528491ebd.27.1318361481283; Tue, 11 Oct 2011 12:31:21 -0700 (PDT) Received: by 10.213.113.10 with HTTP; Tue, 11 Oct 2011 12:31:21 -0700 (PDT) In-Reply-To: <4E948CB3.2010101@yandex.ru> References: <4E948CB3.2010101@yandex.ru> Date: Tue, 11 Oct 2011 14:31:21 -0500 Message-ID: From: Zhihao Yuan To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Ports ML Subject: Re: Vim does not build with ruby19 (since ruby19 does not install the ruby command) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2011 19:31:22 -0000 On Tue, Oct 11, 2011 at 1:36 PM, Ruslan Mahmatkhanov wrote: > 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. > I suggest that to make the 'ruby' command obey the RUBY_DEFAULT_VER setting, like what python ports do. -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/