diff options
author | taca <taca> | 2011-06-16 15:14:31 +0000 |
---|---|---|
committer | taca <taca> | 2011-06-16 15:14:31 +0000 |
commit | 6f7254d01259d74143ce81ad970f7f53be905aee (patch) | |
tree | 119c8bf9b5869b9919e383184804e76af0d6e1e7 /lang | |
parent | 9833e89680791a3494f1419fc178d0f74f821215 (diff) | |
download | pkgsrc-6f7254d01259d74143ce81ad970f7f53be905aee.tar.gz |
Include rdoc.mk to use devel/rdoc instead of ruby{18,19}-base.
If the package needs newer version in ruby{18,19}-base, set
RUBY_RDOC_REQD to minimum rdoc's version. ruby{18,19}-base have
these versions.
ruby18-base: rdoc 1.0.1
ruby19-base: rdoc 2.5.8
A package RUBY_RDOC_REQD set and built with devel/ruby-rdoc, it
will be also depends devel/ruby-rdoc package not only build time.
Because, files generated by rdoc commands of devel/ruby-rdoc may
not usable with ri commands in ruby{18,19}-base.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby/modules.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/ruby/modules.mk b/lang/ruby/modules.mk index 9a37b47d86c..a96f87a988a 100644 --- a/lang/ruby/modules.mk +++ b/lang/ruby/modules.mk @@ -1,4 +1,4 @@ -# $NetBSD: modules.mk,v 1.29 2010/11/06 23:44:01 obache Exp $ +# $NetBSD: modules.mk,v 1.30 2011/06/16 15:14:31 taca Exp $ .if !defined(_RUBY_MODULE_MK) _RUBY_MODULE_MK= # defined @@ -16,6 +16,11 @@ DEPENDS+= ruby${RUBY_VER}-base>=${RUBY_REQD}:../../lang/ruby${RUBY_VER}-base .include "../../lang/ruby/buildlink3.mk" .endif +# +# rdoc version +# +.include "../../lang/ruby/rdoc.mk" + CONFIGURE_ENV+= RUBY=${RUBY:Q} RDOC=${RDOC:Q} # |