Date: Mon, 26 Jan 2004 18:28:32 -0500 (EST) From: Jason Harris <jharris@widomaker.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jason Harris <jharris@widomaker.com> Subject: ports/61972: make USE_SIZE the default in bsd.port.mk Message-ID: <200401262328.i0QNSV8f053327@pm1.ric-07.lft.widomaker.com> Resent-Message-ID: <200401262330.i0QNULYD079970@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61972 >Category: ports >Synopsis: make USE_SIZE the default in bsd.port.mk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 26 15:30:21 PST 2004 >Closed-Date: >Last-Modified: >Originator: Jason Harris >Release: FreeBSD 4.3-RELEASE i386 >Organization: none here >Environment: System: FreeBSD 4.3-RELEASE i386 >Description: Very few people are submitting new ports and updates with file sizes specified, so make USE_SIZE the default, but allow it to be overridden. >How-To-Repeat: apply patch below >Fix: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message --- bsd.port.mk.orig Mon Jan 26 18:11:56 2004 +++ bsd.port.mk Mon Jan 26 18:20:34 2004 @@ -4084,6 +4084,7 @@ # Checksumming utilities +USE_SIZE?= yes .if !target(makesum) makesum: @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} fetch NO_CHECKSUM=yes @@ -4091,7 +4092,7 @@ @(cd ${DISTDIR}; \ for file in ${_CKSUMFILES}; do \ ${MD5} $$file >> ${MD5_FILE}; \ - if [ -n "${USE_SIZE}" ]; then \ + if [ ${USE_SIZE} = "yes" ]; then \ ${ECHO_CMD} "SIZE ($$file) = "`${LS} -ALln $$file | ${AWK} '{print $$5}'` >> ${MD5_FILE}; \ fi; \ done) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAFaG8SypIl9OdoOMRAuJMAJ4m9RsZmPOAsLT6s3Zm3y06ICNCUwCgtcnD DSVcuXU+QS+AefXCFEykgp4= =OF/4 -----END PGP SIGNATURE----- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401262328.i0QNSV8f053327>