summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2012-03-18 05:18:16 +0000
committertaca <taca>2012-03-18 05:18:16 +0000
commitc16b2775ab1434e570d66405c246799d7916d99f (patch)
tree1ea1d5cd1ba897b25ffe6915a1370e195c93dc1c
parent89e76ee6f69b0ff662477df5c0b7e9179b9dd7ab (diff)
downloadpkgsrc-c16b2775ab1434e570d66405c246799d7916d99f.tar.gz
* Propagate RUBY_RAILS_SUPPORTED via MULTI.
* Propagate RUBY_RAILS_DEFAULT and RUBY_RAILS_SUPPORTED via MAKE_ENV.
-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}