emulators/yuzu: unbreak fetch after 8042b64184

Failover between mirrors doesn't work if file exists but is different.

=> Attempting to fetch https://api.yuzu-emu.org/gamedb/?dummy=/yuzu/compatibility_list.json
[...]
=> SHA256 Checksum mismatch for yuzu/compatibility_list.json.
[...]
===>  Giving up on fetching files:  yuzu/compatibility_list.json

Reported by:	pkg-fallout

(cherry picked from commit beb378a9cf)
This commit is contained in:
Jan Beich 2022-01-01 01:36:26 +00:00
parent 5a071065b2
commit a6c0f28298

View File

@ -2,8 +2,11 @@ PORTNAME= yuzu
PORTVERSION= s20211231
PORTREVISION?= 0
CATEGORIES= emulators
MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb \
LOCAL/jbeich:gamedb
.if make(makesum)
MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb
.else
MASTER_SITES= LOCAL/jbeich:gamedb
.endif
DISTFILES= ${PORTNAME}/compatibility_list.json:gamedb
EXTRACT_ONLY= ${DISTFILES:N*\:gamedb:C/\:.*//}