aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-23 04:47:04 +0800
committerantoine <antoine@FreeBSD.org>2014-01-23 04:47:04 +0800
commit6f24a9d9bdbbf36c891b46f9c4e39c9b245751ac (patch)
treea2b6828e5b8cab89d68c46be9cdadb5715a8669f /Mk
parent3f2cbf81b00bd9895858014a9886a608012b0073 (diff)
downloadfreebsd-ports-gnome-6f24a9d9bdbbf36c891b46f9c4e39c9b245751ac.tar.gz
freebsd-ports-gnome-6f24a9d9bdbbf36c891b46f9c4e39c9b245751ac.tar.zst
freebsd-ports-gnome-6f24a9d9bdbbf36c891b46f9c4e39c9b245751ac.zip
Make it possible to stage ruby gems using mkmf as a regular user
Reviewed by: bapt With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.ruby.mk1
1 files changed, 1 insertions, 0 deletions
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