ports/61972: make USE_SIZE the default in bsd.port.mk
Jason Harris
jharris at widomaker.com
Mon Jan 26 23:30:37 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list