Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2022 01:41:40 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: beb378a9cf7d - main - emulators/yuzu: unbreak fetch after 8042b641840f
Message-ID:  <202201010141.2011fexB046046@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=beb378a9cf7dc275aaa15d74465ff944b2cf49c3

commit beb378a9cf7dc275aaa15d74465ff944b2cf49c3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-01 01:36:26 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-01 01:41:16 +0000

    emulators/yuzu: unbreak fetch after 8042b641840f
    
    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
---
 emulators/yuzu/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index d2c5ac2d6343..0d7e7b3bb516 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -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/\:.*//}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201010141.2011fexB046046>