svn commit: r326117 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Tue Sep 3 01:13:11 UTC 2013


Author: bdrewery
Date: Tue Sep  3 01:13:10 2013
New Revision: 326117
URL: http://svnweb.freebsd.org/changeset/ports/326117

Log:
  - Fix regression from r325805 and allow 'make fetch' to work
    without distinfo
  
  Reported by:	sunpoet
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Sep  3 00:49:04 2013	(r326116)
+++ head/Mk/bsd.port.mk	Tue Sep  3 01:13:10 2013	(r326117)
@@ -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 [ -n "${DISABLE_SIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \
+					if [ -n "${DISABLE_SIZE}" ] || [ -z "$${CKSIZE}" ] || [ $${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