aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-09-01 21:42:47 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-09-01 21:42:47 +0800
commit9ad78071344c6b3ff02c70e5e026a1dacb787f16 (patch)
tree74f0d9938210ae7ba51998a3d92b43478d8d1b7e /Mk
parent8ef95d29610dfcabbf66318170a5589755e13914 (diff)
downloadfreebsd-ports-gnome-9ad78071344c6b3ff02c70e5e026a1dacb787f16.tar.gz
freebsd-ports-gnome-9ad78071344c6b3ff02c70e5e026a1dacb787f16.tar.zst
freebsd-ports-gnome-9ad78071344c6b3ff02c70e5e026a1dacb787f16.zip
- Fix regression with 'makesum' from r325805 by respecting
DISABLE_SIZE Reported by: sahil, tobez, many With hat: portmgr Pointyhat to: bdrewery
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 1b772b6a1118..746f484f8100 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3432,7 +3432,7 @@ do-fetch:
esac; \
if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} ${FETCH_AFTER_ARGS}; then \
actual_size=`stat -f %z "$${file}"`; \
- if [ $${actual_size} -eq $${CKSIZE} ]; then \
+ if [ -n "${DISABLE_SIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \
continue 2; \
else \
${ECHO_MSG} "=> Fetched file size mismatch (expected $${CKSIZE}, actual $${actual_size})"; \