Author: markj
Date: Thu Oct 16 21:13:46 2014
New Revision: 273186
URL: https://svnweb.freebsd.org/changeset/base/273186

Log:
  Don't define rules based on PROGS if PROGS is empty.
  
  Reviewed by:  sjg, ngie
  MFC after:    1 week
  Sponsored by: EMC / Isilon Storage Division

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

Modified: head/share/mk/bsd.progs.mk
==============================================================================
--- head/share/mk/bsd.progs.mk  Thu Oct 16 20:46:02 2014        (r273185)
+++ head/share/mk/bsd.progs.mk  Thu Oct 16 21:13:46 2014        (r273186)
@@ -99,9 +99,11 @@ $p.$t: .PHONY .MAKE
 .endfor
 .endfor
 
+.if !empty(PROGS)
 .for t in ${PROGS_TARGETS:O:u}
 $t: ${PROGS:%=%.$t}
 .endfor
+.endif
 
 .if empty(PROGS) && !empty(SCRIPTS)
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to