[Bug 287943] games/retroarch update to 1.21.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Jul 2025 14:36:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287943

Stefan Schlosser <bsdcode@disroot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsdcode@disroot.org

--- Comment #1 from Stefan Schlosser <bsdcode@disroot.org> ---
Hi Tilde,

I have a suggestion for your RUN_DEPENDS change:

The recent commit ports 5b99fc2b3f5a98e5e56f6aa9a5fa470df7f3a62b to
games/retroarch-assets changed the DISTVERSION from "g20240102" to "1.20.0".
The ports framework considers the previous DISTVERSION "g20240102" < 0 and the
new DISTVERSION "1.20.0" > 0. This is probably the reason why you got an error
with

> RUN_DEPENDS=	retroarch-assets<=0:games/retroarch-assets
Instead of using

> RUN_DEPENDS=	${LOCALBASE}/share/libretro/assets/Automatic/README.md:games/retroarch-assets \
> 		${LOCALBASE}/share/libretro/info/00_example_libretro.info:games/libretro-core-info
you could use

> RUN_DEPENDS=	retroarch-assets>0:games/retroarch-assets \
> 		libretro-core-info>0:games/libretro-core-info
I haven't tested your change with this myself, but if this solves your
RUN_DEPENDS error I think it's cleaner to use this "port notation" instead of
filepaths. Of course the maintainer has the last word :)

Best regards,
Stefan

-- 
You are receiving this mail because:
You are the assignee for the bug.