diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-01-23 16:22:26 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-01-23 16:22:26 +0000 |
commit | 616f248e22d6f0604f948b662146fa94903386e2 (patch) | |
tree | e46ff47a90bf9d76e99016be4a9ee71fce9ed30c /Mk | |
parent | d4b0ebddfb70c24e1dd73f9f498cc69692ba46bc (diff) | |
download | ports-616f248e22d6f0604f948b662146fa94903386e2.tar.gz ports-616f248e22d6f0604f948b662146fa94903386e2.zip |
Fix a regression in bsd.port.mk where ports with multiple checksums per file
would fail make checksum. Note: this is the simplest fix, but there is a
more complete fix by eik and myself that works in the spirit of the original
distinfo cleanup patch. However, that patch needs to be tested on bento first.
PR: 61772
Submitted by: dinoex
Notes
Notes:
svn path=/head/; revision=98897
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 17245a38bf26..1e272d1fa806 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4116,7 +4116,7 @@ checksum: fetch ${ECHO_MSG} ">> Checksum for $$file is set to IGNORE in distinfo file even though"; \ ${ECHO_MSG} " the file is not in the "'$$'"{IGNOREFILES} list."; \ OK="false"; \ - elif [ "$$CKSUM2" = "$$CKSUM" ]; then \ + elif ${EXPR} "$$CKSUM2" : ".*$$CKSUM" > /dev/null; then \ ${ECHO_MSG} ">> Checksum OK for $$file."; \ else \ ${ECHO_MSG} ">> Checksum mismatch for $$file."; \ |