summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/rails.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/ruby/rails.mk b/lang/ruby/rails.mk
index fcd6430543f..e63360fea9d 100644
--- a/lang/ruby/rails.mk
+++ b/lang/ruby/rails.mk
@@ -1,4 +1,4 @@
-# $NetBSD: rails.mk,v 1.11 2011/12/13 15:47:06 taca Exp $
+# $NetBSD: rails.mk,v 1.12 2012/03/18 05:18:16 taca Exp $
.if !defined(_RUBY_RAILS_MK)
_RUBY_RAILS_MK= # defined
@@ -91,7 +91,11 @@ _RAILS_DEP= >=${RUBY_RAILS_VERSION}<${_RAILS_MAJOR}.${_RAILS_NEXT}
.endif
#
-MULTI+= RUBY_RAILS_DEFAULT=${RUBY_RAILS}
+MAKE_ENV+= RUBY_RAILS_DEFAULT=${RUBY_RAILS} \
+ RUBY_RAILS_SUPPORTED=${RUBY_RAILS}
+#
+MULTI+= RUBY_RAILS_DEFAULT=${RUBY_RAILS} \
+ RUBY_RAILS_SUPPORTED=${RUBY_RAILS}
RUBY_ACTIVESUPPORT?= ${RUBY_RAILS_VERSION}
RUBY_ACTIONPACK?= ${RUBY_RAILS_VERSION}