re-enable the pre-build targets which i accidentally disabled in the previous

commit
This commit is contained in:
robert 2015-09-25 21:09:19 +00:00
parent 591135e210
commit fa07c44804

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.245 2015/09/25 13:43:04 robert Exp $
# $OpenBSD: Makefile,v 1.246 2015/09/25 21:09:19 robert Exp $
ONLY_FOR_ARCHS= i386 amd64
DPB_PROPERTIES= parallel
@ -174,12 +174,12 @@ do-configure:
do-build:
# Build all the resources as the first step to avoid build failures
# due to internal dependency issues.
# @cd ${WRKSRC}/out/${BUILDTYPE} && \
# for _r in net_interfaces suggestions cacheinvalidation cacheinvalidation_proto_cpp \
# $$(ninja -t targets | grep 'resources: phony' | cut -d ':' -f1); do \
# cd ${WRKSRC} && env -i ${MAKE_ENV} ninja \
# -j ${MAKE_JOBS} -C out/${BUILDTYPE} $${_r}; \
# done
@cd ${WRKSRC}/out/${BUILDTYPE} && \
for _r in net_interfaces suggestions cacheinvalidation cacheinvalidation_proto_cpp \
$$(ninja -t targets | grep 'resources: phony' | cut -d ':' -f1); do \
cd ${WRKSRC} && env -i ${MAKE_ENV} ninja \
-j ${MAKE_JOBS} -C out/${BUILDTYPE} $${_r}; \
done
@cd ${WRKSRC} && env -i ${MAKE_ENV} ninja \
-j ${MAKE_JOBS} -C out/${BUILDTYPE} ${ALL_TARGET}