svn commit: r325856 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Sun Sep 1 13:42:47 UTC 2013


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})"; \


More information about the svn-ports-all mailing list