summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authortaca <taca>2011-09-13 03:23:04 +0000
committertaca <taca>2011-09-13 03:23:04 +0000
commit7733e05ff34ac35f1e26883a400e6cc770fcb8b4 (patch)
tree2eb30cdabb38981b58e7484f6edcf1e9ce79f307 /lang/ruby
parent0fa536f9b762392cba2c17a836f602f255d3350b (diff)
downloadpkgsrc-7733e05ff34ac35f1e26883a400e6cc770fcb8b4.tar.gz
Now OVERRIDE_GEMSPEC can delete dependency in a gemspec file.
And a little documentation clean up.
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/gem.mk18
1 files changed, 11 insertions, 7 deletions
diff --git a/lang/ruby/gem.mk b/lang/ruby/gem.mk
index 26d7cc30f50..fd6e7a912b6 100644
--- a/lang/ruby/gem.mk
+++ b/lang/ruby/gem.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gem.mk,v 1.7 2011/08/12 14:35:34 taca Exp $
+# $NetBSD: gem.mk,v 1.8 2011/09/13 03:23:04 taca Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install Ruby gems.
@@ -17,16 +17,20 @@
# pattern as usual pkgsrc's one.
#
# Example:
-# When gemspec contains "json~>1.4.6" as runtime dependency and
-# if you want to relax dependency to "json>=1.4.6" then use:
+# When gemspec contains "json~>1.4.7" as runtime dependency
+# (i.e. json>=1.4.7<1.5) and if you want to relax it to
+# "json>=1.4.6" then use:
#
-# OVERRIDE_GEMSPEC+= json>=1.4.7
+# OVERRIDE_GEMSPEC+= json>=1.4.6
#
-# or
+# If you want to change depending gem to "json_pure>=1.4.6"
+# then use:
#
-# OVERRIDE_GEMSPEC+= json:json_pure>=1.4.7
+# OVERRIDE_GEMSPEC+= json:json_pure>=1.4.6
#
-# With latter case, depending gem's name will be renamed, too.
+# You can also remove dependency:
+#
+# OVERRIDE_GEMSPEC+= json:
#
# Default: (empty)
#