summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-03-18 05:18:16 +0000
committertaca <taca@pkgsrc.org>2012-03-18 05:18:16 +0000
commitf56d828693c4d148c9f51dc855ee7393609ceb75 (patch)
tree1ea1d5cd1ba897b25ffe6915a1370e195c93dc1c /lang/ruby
parentc03895899723b54ccf6dd6f2b684393cb81a77d6 (diff)
downloadpkgsrc-f56d828693c4d148c9f51dc855ee7393609ceb75.tar.gz
* Propagate RUBY_RAILS_SUPPORTED via MULTI.
* Propagate RUBY_RAILS_DEFAULT and RUBY_RAILS_SUPPORTED via MAKE_ENV.
Diffstat (limited to 'lang/ruby')
-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}