svn commit: r296694 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Mar 11 23:45:07 UTC 2016


Author: bdrewery
Date: Fri Mar 11 23:45:05 2016
New Revision: 296694
URL: https://svnweb.freebsd.org/changeset/base/296694

Log:
  DIRDEPS_BUILD: export DESTDIR for STAGING.
  
  An example of where this is needed is in share/examples which for
  'etc-examples' runs 'make -C SRCTOP/etc etc-examples' which installs
  to the default DESTDIR otherwise.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.sys.mk

Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk	Fri Mar 11 23:45:02 2016	(r296693)
+++ head/share/mk/bsd.sys.mk	Fri Mar 11 23:45:05 2016	(r296694)
@@ -197,6 +197,7 @@ staging stage_libs stage_files stage_as 
 .else
 # allow targets like beforeinstall to be leveraged
 DESTDIR= ${STAGE_OBJTOP}
+.export DESTDIR
 
 .if target(beforeinstall)
 .if !empty(_LIBS) || (${MK_STAGING_PROG} != "no" && !defined(INTERNALPROG))


More information about the svn-src-head mailing list