Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 01:54:56 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343416 - head/Mk
Message-ID:  <201402090154.s191suDx019075@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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