Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Stoned Elipot <seb@netbsd.org>
List: pkgsrc-changes
Date: 12/25/2003 16:18:48
Module Name:	pkgsrc
Committed By:	seb
Date:		Thu Dec 25 16:18:48 UTC 2003

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
print-pkg-size-this target:

 - properly quote any filenames in ${PLIST} before feeding them
   to xargs. This allows latest textproc/docbook-xsl package
   to be registered with its correct size because it contains a file with
   a single quote in its name.

   XXX pkg_add does not like this filename anyway.

 - fix the awk script that parse ${PLIST} so pathname containing space
   (hence awk's NF > 1) are not removed from size calculation.

Many thanks to atatat@ to remind me the proper way to quote a shell
word.


To generate a diff of this commit:
cvs rdiff -r1.1327 -r1.1328 pkgsrc/mk/bsd.pkg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.