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

Log:
  DIRDEPS_BUILD: Extend beforeinstall: staging hack.
  
  Most beforeinstall: usage is not adding commands but only adding
  targets, such as in share/sendmail.
  
  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:44:59 2016        (r296692)
+++ head/share/mk/bsd.sys.mk    Fri Mar 11 23:45:02 2016        (r296693)
@@ -198,7 +198,7 @@ staging stage_libs stage_files stage_as 
 # allow targets like beforeinstall to be leveraged
 DESTDIR= ${STAGE_OBJTOP}
 
-.if commands(beforeinstall)
+.if target(beforeinstall)
 .if !empty(_LIBS) || (${MK_STAGING_PROG} != "no" && !defined(INTERNALPROG))
 staging: beforeinstall
 .endif
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to