summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-08 03:37:55 +0000
committerjlam <jlam>2008-03-08 03:37:55 +0000
commit3377a18d5854d92f97cedd33d9cbaa723f6f730a (patch)
tree7465e8ed2b76ede7d3322a14ac5f7f09d2cbf48d /misc
parentb007478f6017c504c33f7960e0a856a45fe86613 (diff)
downloadpkgsrc-3377a18d5854d92f97cedd33d9cbaa723f6f730a.tar.gz
Don't hardcode "1.8" in the GEM_SUBDIR -- use ${RUBY_VER_DIR} instead.
Diffstat (limited to 'misc')
-rw-r--r--misc/rubygems/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/rubygems/Makefile b/misc/rubygems/Makefile
index fcf2efc9b3f..28168acefa2 100644
--- a/misc/rubygems/Makefile
+++ b/misc/rubygems/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/03/08 00:43:54 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/08 03:37:55 jlam Exp $
DISTNAME= rubygems-1.0.1
PKGREVISION= 1
@@ -21,7 +21,7 @@ RUBY_REQD= 1.8.3
REPLACE_RUBY_DIRS= ${WRKSRC}/bin
REPLACE_RUBY_PAT= [a-z]*
-GEMS_SUBDIR= lib/ruby/gems/1.8
+GEMS_SUBDIR= lib/ruby/gems/${RUBY_VER_DIR}
REQD_DIRS= ${GEMS_SUBDIR:H}
REQD_DIRS+= ${GEMS_SUBDIR}
REQD_DIRS+= ${GEMS_SUBDIR}/cache