pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby lang/ruby/rubyversion.mk: pass RUBY_RAILS_AC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38de356f5848
branches:  trunk
changeset: 450100:38de356f5848
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Apr 11 12:16:20 2021 +0000

description:
lang/ruby/rubyversion.mk: pass RUBY_RAILS_ACCEPTED

Pass RUBY_RAILS_ACCEPTED to MAKEFLAGS unless it isn't empty.

diffstat:

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

diffs (19 lines):

diff -r 6ce01ea25acf -r 38de356f5848 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Sun Apr 11 08:09:12 2021 +0000
+++ b/lang/ruby/rubyversion.mk  Sun Apr 11 12:16:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.226 2021/04/01 14:07:52 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.227 2021/04/11 12:16:20 taca Exp $
 #
 
 # This file determines which Ruby version is used as a dependency for
@@ -586,6 +586,9 @@
 
 MAKEFLAGS+=            RUBY_VER=${RUBY_VER:Q} \
                        RUBY_VERSION_DEFAULT=${RUBY_VERSION_DEFAULT:Q}
+.if !empty(RUBY_RAILS_ACCEPTED)
+MAKEFLAGS+=            RUBY_RAILS_ACCEPTED=${RUBY_RAILS_ACCEPTED}
+.endif
 
 PLIST_RUBY_DIRS=       RUBY_INC=${RUBY_INC:Q} RUBY_ARCHINC=${RUBY_ARCHINC:Q} \
                        RUBY_LIB_BASE=${RUBY_LIB_BASE:Q} \



Home | Main Index | Thread Index | Old Index