From 6f24a9d9bdbbf36c891b46f9c4e39c9b245751ac Mon Sep 17 00:00:00 2001 From: antoine Date: Wed, 22 Jan 2014 20:47:04 +0000 Subject: 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(+) (limited to 'Mk') 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 -- cgit