Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2016 13:05:46 -0400
From:      Steve Wills <swills@FreeBSD.org>
To:        freebsd-ruby@freebsd.org
Subject:   Re: passenger 5.0.27 and NOPORTDOCS
Message-ID:  <571A59EA.4020908@FreeBSD.org>
In-Reply-To: <20160422013921.GP42668@FreeBSD.org>
References:  <20160422013921.GP42668@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?571A59EA.4020908>