Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 20:47:04 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340730 - head/Mk
Message-ID:  <201401222047.s0MKl4HG055762@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Jan 22 20:47:04 2014
New Revision: 340730
URL: http://svnweb.freebsd.org/changeset/ports/340730
QAT: https://qat.redports.org/buildarchive/r340730/

Log:
  Make it possible to stage ruby gems using mkmf as a regular user
  
  Reviewed by:	bapt
  With hat:	portmgr

Modified:
  head/Mk/bsd.ruby.mk

Modified: head/Mk/bsd.ruby.mk
==============================================================================
--- head/Mk/bsd.ruby.mk	Wed Jan 22 18:36:06 2014	(r340729)
+++ head/Mk/bsd.ruby.mk	Wed Jan 22 20:47:04 2014	(r340730)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401222047.s0MKl4HG055762>