pkgsrc/lang/ruby18-base/options.mk
taca 922992b327 Fix ruby-build-ri-db option related problem.
- Include options.mk before rubyversion.mk, so PLIST for ri database
  should be created suitably.

- make RUBY_RIDIR and its friends relative path to ${PREFIX}.

- Fix and improve handling of ${RUBY_RIDIR} handling and should
  be fixed remaining ${RUBY_RIDIR} after pkg_delete ruby18-base.
  (Noted by private mail from wiz@.)

Bump PKGREVISION of ruby18-base package.
2007-01-28 15:15:57 +00:00

11 lines
297 B
Makefile

# $NetBSD: options.mk,v 1.2 2007/01/28 15:15:58 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ruby
PKG_SUPPORTED_OPTIONS= ruby-build-ri-db
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mruby-build-ri-db)
CONFIGURE_ARGS+= --enable-install-doc
RUBY_DYNAMIC_DIRS+= ${RUBY_SYSRIDIR}
.endif