diff --git a/Makefile.inc1 b/Makefile.inc1 index e49ed4015505..3b13989477f3 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1371,7 +1371,9 @@ REPODIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo PKGSIGNKEY?= # empty _pkgbootstrap: +.if !exists(${LOCALBASE}/sbin/pkg) @env ASSUME_ALWAYS_YES=YES pkg bootstrap +.endif packages: _pkgbootstrap @mkdir -p ${WSTAGEDIR} ${KSTAGEDIR} ${REPODIR}