diff --git a/infrastructure/mk/bsd.port.mk b/infrastructure/mk/bsd.port.mk index 921ffba5fc1..c995d47812e 100644 --- a/infrastructure/mk/bsd.port.mk +++ b/infrastructure/mk/bsd.port.mk @@ -1,6 +1,6 @@ #-*- mode: Makefile; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: bsd.port.mk,v 1.700 2005/06/25 10:51:32 espie Exp $ +# $OpenBSD: bsd.port.mk,v 1.701 2005/06/25 22:01:46 espie Exp $ # $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $ # $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $ # @@ -2005,6 +2005,7 @@ ${_F}: else \ if grep -q "SIZE ($$file)" ${CHECKSUM_FILE}; then \ ${ECHO_MSG} ">> Size does not match for ${_F}"; \ + test 0`wc -c $$file 2>/dev/null` -lt 10000 && rm -f $$file; \ else \ ${ECHO_MSG} ">> No size recorded for ${_F}"; \ exit 0; \