summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authortron <tron>2001-04-22 08:00:41 +0000
committertron <tron>2001-04-22 08:00:41 +0000
commit80271db78de47b4a8d7d6ea78ad79635cd3eeb0a (patch)
treed8cde0ca68a950b04d2e216c87a1e7ab20ffa4ed /mk/bsd.pkg.mk
parent898b1982374a5428bda190825da0d245eb80de2f (diff)
downloadpkgsrc-80271db78de47b4a8d7d6ea78ad79635cd3eeb0a.tar.gz
Fix creation of "Size" entries in "distinfo" if the distfile is a softlink.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index e3e94ebc804..a7990fe6222 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.726 2001/04/22 06:29:37 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.727 2001/04/22 08:00:41 tron Exp $
#
# This file is in the public domain.
#
@@ -2500,7 +2500,7 @@ makesum: fetch uptodate-digest
for sumfile in "" ${_CKSUMFILES}; do \
if [ "X$$sumfile" = "X" ]; then continue; fi; \
${DIGEST} ${DIGEST_ALGORITHM} $$sumfile >> $$newfile; \
- ${LS} -l $$sumfile | ${AWK} '{ print "Size (" $$9 ") = " $$5 " bytes" }' >> $$newfile; \
+ wc -c $$sumfile | ${AWK} '{ print "Size (" $$2 ") = " $$1 " bytes" }' >> $$newfile; \
done; \
for ignore in "" ${_IGNOREFILES}; do \
if [ "X$$ignore" = "X" ]; then continue; fi; \