mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Allow staging USE_RUBY_SETUP ports.
They must be built with the proper prefix, but at install phase they should be passed --prefix=STAGEDIR. It will already install to the previously used PREFIX so this will end up installing into ${STAGEDIR}${PREFIX} With hat: ruby
This commit is contained in:
parent
870c7b2ae3
commit
447562319e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343416
@ -555,7 +555,11 @@ do-install: ruby-setup-install
|
||||
ruby-setup-install:
|
||||
@${ECHO_MSG} "===> Running ${RUBY_SETUP} to install"
|
||||
@cd ${INSTALL_WRKSRC}; \
|
||||
. if defined(NO_STAGE)
|
||||
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install
|
||||
. else
|
||||
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install --prefix=${STAGEDIR}
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if defined(USE_LIBRUBY)
|
||||
|
Loading…
Reference in New Issue
Block a user