git: 00ef3b5fc7d7 - main - games/gnome-chess: unbreak on recent -current (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Wed, 09 Apr 2025 21:52:16 UTC
The branch main has been updated by fluffy:

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

commit 00ef3b5fc7d774716724717cf749416b90fb8cfc
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-04-09 21:48:40 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-04-09 21:48:40 +0000

    games/gnome-chess: unbreak on recent -current (+)
    
    Fixes ld: error: undefined symbol: floor
    
    PR:     285950
---
 games/gnome-chess/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile
index 0d3313a8fea4..41be2955a969 100644
--- a/games/gnome-chess/Makefile
+++ b/games/gnome-chess/Makefile
@@ -24,6 +24,8 @@ USE_GNOME=	cairo gtk40 librsvg2 libxml2:build
 USE_GL=		egl gl
 BINARY_ALIAS=	python3=${PYTHON_VERSION}
 
+LDFLAGS+=	-lm
+
 GLIB_SCHEMAS=	org.gnome.Chess.gschema.xml
 
 OPTIONS_DEFINE=		GNUCHESS