From 14cda706cbb8ce85acd6c6c142d92865e098fe53 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Mon, 11 Apr 2016 18:10:20 +0000 Subject: [PATCH] Set explicit ordering to prevent packaging failures with parallel (-jN) make(1) jobs. Sponsored by: The FreeBSD Foundation --- Makefile.inc1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 1c821c7836de..fb5ea48ba260 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1224,6 +1224,11 @@ KSTAGEDIR?= ${MAKEOBJDIRPREFIX}${.CURDIR}/${TARGET}.${TARGET_ARCH}/kernelstage REPODIR?= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo PKGSIGNKEY?= # empty +.ORDER: stage-packages create-packages +.ORDER: create-packages create-world-packages +.ORDER: create-packages create-kernel-packages +.ORDER: create-packages sign-packages + _pkgbootstrap: .if !exists(${LOCALBASE}/sbin/pkg) @env ASSUME_ALWAYS_YES=YES pkg bootstrap