1
0
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:
Bryan Drewery 2014-02-09 01:54:56 +00:00
parent 870c7b2ae3
commit 447562319e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343416

View File

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