From owner-svn-ports-all@FreeBSD.ORG Sun Sep 1 13:42:47 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BF7891EE; Sun, 1 Sep 2013 13:42:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC2412C19; Sun, 1 Sep 2013 13:42:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r81DglGA025117; Sun, 1 Sep 2013 13:42:47 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r81DglPA025116; Sun, 1 Sep 2013 13:42:47 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201309011342.r81DglPA025116@svn.freebsd.org> From: Bryan Drewery Date: Sun, 1 Sep 2013 13:42:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325856 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 13:42:47 -0000 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})"; \