From daa416222d07e902f054ced53763de6c0c036d3e Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 8 Mar 2008 03:37:55 +0000 Subject: Don't hardcode "1.8" in the GEM_SUBDIR -- use ${RUBY_VER_DIR} instead. --- misc/rubygems/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') 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 -- cgit v1.2.3