summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/options.mk
blob: 66e71603902d3016cff1a7c132c1ab9d18aca842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: options.mk,v 1.8 2010/09/10 03:29:00 taca Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ruby
PKG_SUPPORTED_OPTIONS=	readline ruby-build-ri-db
PKG_SUGGESTED_OPTIONS=	readline ruby-build-ri-db

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mruby-build-ri-db)
BUILD_TARGET=	all rdoc
CONFIGURE_ARGS+=	--enable-install-doc
RUBY_DYNAMIC_DIRS+=	${RUBY_SYSRIDIR}
# Use huge memory.
UNLIMIT_RESOURCES+=	datasize
.endif