svn commit: r343416 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Sun Feb 9 01:54:57 UTC 2014
Author: bdrewery
Date: Sun Feb 9 01:54:56 2014
New Revision: 343416
URL: http://svnweb.freebsd.org/changeset/ports/343416
QAT: https://qat.redports.org/buildarchive/r343416/
Log:
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
Modified:
head/Mk/bsd.ruby.mk
Modified: head/Mk/bsd.ruby.mk
==============================================================================
--- head/Mk/bsd.ruby.mk Sun Feb 9 01:54:21 2014 (r343415)
+++ head/Mk/bsd.ruby.mk Sun Feb 9 01:54:56 2014 (r343416)
@@ -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)
More information about the svn-ports-all
mailing list