pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby * Always define RAKE since all ruby2*-base p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/541d2822b116
branches:  trunk
changeset: 363016:541d2822b116
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue May 30 15:33:49 2017 +0000

description:
* Always define RAKE since all ruby2*-base package have it.
* Pass RAKE to MAKE_ENV.

diffstat:

 lang/ruby/rubyversion.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r d915e2b59d66 -r 541d2822b116 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Tue May 30 15:20:06 2017 +0000
+++ b/lang/ruby/rubyversion.mk  Tue May 30 15:33:49 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.175 2017/05/04 07:47:22 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.176 2017/05/30 15:33:49 taca Exp $
 #
 
 # This file determines which Ruby version is used as a dependency for
@@ -385,6 +385,7 @@
 RUBY_BUILD_RI?=                Yes
 
 RUBY?=                 ${PREFIX}/bin/${RUBY_NAME}
+RAKE?=                 ${PREFIX}/bin/${RAKE_NAME}
 RDOC?=                 ${PREFIX}/bin/rdoc${RUBY_SUFFIX}
 
 RUBY_ARCH?= ${MACHINE_GNU_ARCH}-${LOWER_OPSYS}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}${APPEND_ABI}
@@ -488,7 +489,8 @@
 # MAKE_ENV
 #
 MAKE_ENV+=             RUBY=${RUBY:Q} RUBY_VER=${RUBY_VER:Q} \
-                       RUBY_VERSION_DEFAULT=${RUBY_VERSION_DEFAULT:Q}
+                       RUBY_VERSION_DEFAULT=${RUBY_VERSION_DEFAULT:Q} \
+                       RAKE=${RAKE:Q}
 
 MAKEFLAGS+=            RUBY_VER=${RUBY_VER:Q} \
                        RUBY_VERSION_DEFAULT=${RUBY_VERSION_DEFAULT:Q}



Home | Main Index | Thread Index | Old Index