Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2013 01:13:11 +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: r326117 - head/Mk
Message-ID:  <201309030113.r831DBhr094612@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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})"; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309030113.r831DBhr094612>