diff options
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/gem.mk | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lang/ruby/gem.mk b/lang/ruby/gem.mk index c3e6bec66ce..39359c0a1e2 100644 --- a/lang/ruby/gem.mk +++ b/lang/ruby/gem.mk @@ -1,4 +1,4 @@ -# $NetBSD: gem.mk,v 1.18 2013/03/14 12:57:42 obache Exp $ +# $NetBSD: gem.mk,v 1.19 2013/04/02 15:22:39 taca Exp $ # # This Makefile fragment is intended to be included by packages that build # and install Ruby gems. @@ -64,6 +64,11 @@ # # Default: (empty) # +# GEM_PATH +# Set GEM_PATH; search path for rubygems +# +# Default: ${PREFIX}/${GEM_HOME} +# # BUILD_TARGET # The Rakefile target that creates a local gem if using the # ``rake'' GEM_BUILD method. @@ -213,8 +218,11 @@ DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY?= # empty .endif +# Specify GEM_PATH +GEM_PATH?= ${PREFIX}/${GEM_HOME} + # Base directory for Gems -MAKE_ENV+= GEM_PATH=${PREFIX}/${GEM_HOME} +MAKE_ENV+= GEM_PATH=${GEM_PATH} # Directory for the Gem to install GEM_NAME?= ${DISTNAME} |