diff options
author | taca <taca@pkgsrc.org> | 2017-05-04 15:09:10 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2017-05-04 15:09:10 +0000 |
commit | bf2a13f87396055f24f837ea39d355f105015e99 (patch) | |
tree | 099e6549a5fd1685292cda3a17fe00a389e9cdd5 /lang/ruby | |
parent | 3d2f1e3d0ddf44aa253bb4a8da4da779c9fdcb9d (diff) | |
download | pkgsrc-bf2a13f87396055f24f837ea39d355f105015e99.tar.gz |
Include "rails.mk" if RUBY_RAILS_SUPPORTED is defined.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/modules.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/ruby/modules.mk b/lang/ruby/modules.mk index 289cebe5193..781da2070e5 100644 --- a/lang/ruby/modules.mk +++ b/lang/ruby/modules.mk @@ -1,4 +1,4 @@ -# $NetBSD: modules.mk,v 1.39 2017/05/04 07:44:41 taca Exp $ +# $NetBSD: modules.mk,v 1.40 2017/05/04 15:09:10 taca Exp $ .if !defined(_RUBY_MODULE_MK) _RUBY_MODULE_MK= # defined @@ -20,6 +20,10 @@ DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR} .include "../../lang/ruby/buildlink3.mk" .endif +.if defined(RUBY_RAILS_SUPPORTED) +.include "../../lang/ruby/rails.mk" +.endif + CONFIGURE_ENV+= RUBY=${RUBY:Q} RDOC=${RDOC:Q} # |