From f65a743cc72252d37df293a0385ed4110f7d08ca Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Wed, 22 Jan 2014 20:47:04 +0000 Subject: [PATCH] Make it possible to stage ruby gems using mkmf as a regular user Reviewed by: bapt With hat: portmgr --- Mk/bsd.ruby.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 27ea42de6a7d..005a460866bd 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -440,6 +440,7 @@ GEMFILES= ${DISTNAME}${EXTRACT_SUFX} RUBYGEM_ARGS=-l --no-update-sources --no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} .else RUBYGEM_ARGS=-l --no-update-sources --no-ri --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin +GEM_ENV+= RB_USER_INSTALL=yes .endif .if defined(NOPORTDOCS) RUBYGEM_ARGS+= --no-rdoc