Date: Sun, 1 Sep 2013 13:42:47 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325856 - head/Mk Message-ID: <201309011342.r81DglPA025116@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sun Sep 1 13:42:47 2013 New Revision: 325856 URL: http://svnweb.freebsd.org/changeset/ports/325856 Log: - Fix regression with 'makesum' from r325805 by respecting DISABLE_SIZE Reported by: sahil, tobez, many With hat: portmgr Pointyhat to: bdrewery Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Sun Sep 1 13:02:56 2013 (r325855) +++ head/Mk/bsd.port.mk Sun Sep 1 13:42:47 2013 (r325856) @@ -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})"; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309011342.r81DglPA025116>