From owner-freebsd-ruby@freebsd.org Fri Apr 22 17:06:23 2016 Return-Path: Delivered-To: freebsd-ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6164EB18869 for ; Fri, 22 Apr 2016 17:06:23 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E3AC111A for ; Fri, 22 Apr 2016 17:06:23 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from [0.0.0.0] (cpe-071-065-239-148.nc.res.rr.com [71.65.239.148] (may be forged)) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id u3MH5mLY012667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 22 Apr 2016 17:06:14 GMT (envelope-from swills@FreeBSD.org) Subject: Re: passenger 5.0.27 and NOPORTDOCS To: freebsd-ruby@freebsd.org References: <20160422013921.GP42668@FreeBSD.org> From: Steve Wills Message-ID: <571A59EA.4020908@FreeBSD.org> Date: Fri, 22 Apr 2016 13:05:46 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <20160422013921.GP42668@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Fri, 22 Apr 2016 17:06:15 +0000 (UTC) X-Spam-Status: No, score=2.8 required=4.5 tests=HELO_MISC_IP, RCVD_ILLEGAL_IP, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 17:06:23 -0000 Hi, On 04/21/16 09:39 PM, Sergey A. Osokin wrote: > Hi, > > I'm going to update www/rubygem-passenger port to the latest version 5.0.27. > I've found that recent change default version of ruby to 2.2 affected the > www/rubyge-passenger port: build time has been increased from 5 to 20 mins. > > I've asked the vendor about that issue and he's suggested to use rubygem > installation with --no-rdoc and --no-ri flags. Then I've checked > bsd.ruby.mk, found the options covered by NOPORTDOCS knob (480-484 lines): > > .if defined(NOPORTDOCS) > RUBYGEM_ARGS+= --no-rdoc --no-ri > .else > RUBYGEM_ARGS+= --rdoc --ri > .endif > > So, I've tried to use it in www/rubygem-passenger/Makefile and got: > > /!\ WARNING /!\ > You are using the following deprecated options: NOPORTDOCS > If you added them on the command line, you should replace them by > WITH="" WITHOUT="DOCS" > > If they are global options set in your make.conf, you should replace them with: > OPTIONS_UNSET=DOCS > > If they are local to this port, you should use: > www_rubygem-passenger_UNSET=DOCS > > > What can I do in this case? > Thanks in advance. > The right thing would be to update bsd.ruby.mk. But really we want to create a Mk/Uses/ruby.mk and a Mk/Uses/gem.mk. Until at least the first is done, ignore the warning. Steve