https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197764
Bug ID: 197764 Summary: bsd.dep.mk appears to missing a .ORDER: directive Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: catte...@thebarn.com While working with a beforedepends target we notices that in some cases the files generated by the beforedpends were not showing up in time for the depends phase to find the generated files. By adding a sleep to the beforedepends rule is was easy to see that the actually depends phase was not waiting for the beforedepends to finish. This look to be a simple omission of an .ORDER: iff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index cbbb4d6..db5ddd7 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -122,6 +122,7 @@ ${_YC:R}.o: ${_YC} .if !target(depend) .if defined(SRCS) depend: beforedepend ${DEPENDFILE} afterdepend +.ORDER: beforedepend ${DEPENDFILE} afterdepend # Different types of sources are compiled with slightly different flags. # Split up the sources, and filter out headers and non-applicable flags. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"