1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Make it possible to stage ruby gems using mkmf as a regular user

Reviewed by:	bapt
With hat:	portmgr
This commit is contained in:
Antoine Brodin 2014-01-22 20:47:04 +00:00
parent 26878a2085
commit f65a743cc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340730

View File

@ -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