summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2017-05-04 15:09:10 +0000
committertaca <taca@pkgsrc.org>2017-05-04 15:09:10 +0000
commit0d91a0184c7694980063f2cffe48156215dc508b (patch)
tree04febc9be6083adfd1792226d682677be7898c92 /lang/ruby
parent1d1bf472d88945ae0106eaae1cc6dc3aeb75ce1a (diff)
downloadpkgsrc-0d91a0184c7694980063f2cffe48156215dc508b.tar.gz
Include "rails.mk" if RUBY_RAILS_SUPPORTED is defined.
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/modules.mk6
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}
#