pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ruby



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Jan 11 06:51:27 UTC 2021

Modified Files:
        pkgsrc/lang/ruby: gem-vars.mk gem.mk

Log Message:
lang/ruby: add RUBYGEM_VERBOSE

Add RUBYGEM_VERBOSE user-settable variable.  It is useful for developers.

RUBYGEM_VERBOSE
        Execute gem with verbose option.
                Possible values: Yes No
                Default: No


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/ruby/gem-vars.mk
cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/ruby/gem.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ruby/gem-vars.mk
diff -u pkgsrc/lang/ruby/gem-vars.mk:1.10 pkgsrc/lang/ruby/gem-vars.mk:1.11
--- pkgsrc/lang/ruby/gem-vars.mk:1.10   Sat Dec 19 14:41:16 2020
+++ pkgsrc/lang/ruby/gem-vars.mk        Mon Jan 11 06:51:27 2021
@@ -1,4 +1,4 @@
-# $NetBSD: gem-vars.mk,v 1.10 2020/12/19 14:41:16 taca Exp $
+# $NetBSD: gem-vars.mk,v 1.11 2021/01/11 06:51:27 taca Exp $
 #
 # This Makefile fragment defines various make(1) variables for Ruby gems
 # support.
@@ -6,6 +6,8 @@
 .if !defined(_RUBYGEM_VARS_MK)
 _RUBYGEM_VARS_MK=      # defined
 
+RUBYGEM_VERBOSE?=      No
+
 # Specify GEM_PATH
 GEM_PATH?=     ${PREFIX}/${GEM_HOME}
 

Index: pkgsrc/lang/ruby/gem.mk
diff -u pkgsrc/lang/ruby/gem.mk:1.43 pkgsrc/lang/ruby/gem.mk:1.44
--- pkgsrc/lang/ruby/gem.mk:1.43        Sat Dec 19 14:41:16 2020
+++ pkgsrc/lang/ruby/gem.mk     Mon Jan 11 06:51:27 2021
@@ -1,8 +1,15 @@
-# $NetBSD: gem.mk,v 1.43 2020/12/19 14:41:16 taca Exp $
+# $NetBSD: gem.mk,v 1.44 2021/01/11 06:51:27 taca Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # and install Ruby gems.
 #
+# === User-settable variables ===
+#
+# RUBYGEM_VERBOSE
+#      Execute gem with verbose option.
+#              Possible values: Yes No
+#              Default: No
+#
 # Package-settable variables:
 #
 # OVERRIDE_GEMSPEC
@@ -270,6 +277,9 @@ _RUBYGEM_OPTIONS+=  --install-dir ${PREFI
 _RUBYGEM_OPTIONS+=     ${RUBYGEM_INSTALL_ROOT_OPTION}
 _RUBYGEM_OPTIONS+=     --ignore-dependencies
 _RUBYGEM_OPTIONS+=     --local ${WRKSRC}/${GEM_NAME}.gem
+.if !empty(RUBYGEM_VERBOSE:M[Yy][Ee][Ss])
+_RUBYGEM_OPTIONS+=     -V
+.endif
 .if !empty(RUBY_BUILD_DOCUMENT:M[nN][oO])
 _RUBYGEM_OPTIONS+=     --no-document
 .endif



Home | Main Index | Thread Index | Old Index