svn commit: r360019 - head/lang/ruby19

Steve Wills swills at freebsd.org
Tue Jul 1 21:48:03 UTC 2014


On Tue, Jul 01, 2014 at 11:55:46PM +0400, Andrey Chernov wrote:
> On 01.07.2014 18:31, Steve Wills wrote:
> > +.if ${PORT_OPTIONS:MLIBEDIT}
> > +BUILD_DEPENDS+=	libedit>=0:${PORTSDIR}/devel/libedit
> > +RUN_DEPENDS+=	libedit>=0:${PORTSDIR}/devel/libedit
> > +CONFIGURE_ARGS+=	--enable-libedit --with-libedit-prefix=${LOCALBASE}
> > +.endif
> > +
> > +.if ${PORT_OPTIONS:MREADLINE}
> > +BUILD_DEPENDS+=	readline>=0:${PORTSDIR}/devel/readline
> > +RUN_DEPENDS+=	readline>=0:${PORTSDIR}/devel/readline
> > +CONFIGURE_ARGS+=	--disable-libedit --with-readline-prefix=${LOCALBASE}
> > +.endif
> 
> BTW, it seems 1.9 configure don't have such options:
> ...
> ruby library version = 1.9
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating ruby-1.9.pc
> configure: WARNING: unrecognized options: --disable-libedit,
> --with-readline-prefix

Turns out the arg is actually used, it's just that it's saved in configure_args
in the generated Makefile and later passed to the extensions config script. So
the warning might be considered a bug in ruby's configure script, but it's all
actually used and working correctly.

Thanks,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20140701/6720ce4e/attachment.sig>


More information about the svn-ports-head mailing list