pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/rubygems Don't hardcode "1.8" in the GEM_SUBDIR -...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b886c1bbc6ac
branches:  trunk
changeset: 539558:b886c1bbc6ac
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Mar 08 03:37:55 2008 +0000

description:
Don't hardcode "1.8" in the GEM_SUBDIR -- use ${RUBY_VER_DIR} instead.

diffstat:

 misc/rubygems/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5a078712f686 -r b886c1bbc6ac misc/rubygems/Makefile
--- a/misc/rubygems/Makefile    Sat Mar 08 01:12:03 2008 +0000
+++ b/misc/rubygems/Makefile    Sat Mar 08 03:37:55 2008 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index