summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-09-13 03:23:04 +0000
committertaca <taca@pkgsrc.org>2011-09-13 03:23:04 +0000
commit8133b0cc4e01043be0e4f0fd9835d0b81294008b (patch)
tree2eb30cdabb38981b58e7484f6edcf1e9ce79f307 /lang
parentd24a667f3083be34a19c0802be7e4772aaa3db33 (diff)
downloadpkgsrc-8133b0cc4e01043be0e4f0fd9835d0b81294008b.tar.gz
Now OVERRIDE_GEMSPEC can delete dependency in a gemspec file.
And a little documentation clean up.
Diffstat (limited to 'lang')
-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)
#