diff options
author | taca <taca@pkgsrc.org> | 2013-04-02 15:22:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2013-04-02 15:22:39 +0000 |
commit | df4f14f4b993874d7a3633300341c0c8886fde0e (patch) | |
tree | 9548685f49d1d59f0c48186b6d616bb24baf0268 | |
parent | b304b0dcd5264823bd8661a48ea4231c8c454cc2 (diff) | |
download | pkgsrc-df4f14f4b993874d7a3633300341c0c8886fde0e.tar.gz |
Make GEM_PATH environment settable with MAKE_ENV.
-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} |