git: cb25b8c9732d - main - games/freecell-solver: Unbreak on 32 bit platforms.

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 14:34:06 UTC
The branch main has been updated by mikael:

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

commit cb25b8c9732d9bd51143dfcb533cd7e49fe05d88
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-09-11 21:53:39 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-10-13 14:28:41 +0000

    games/freecell-solver: Unbreak on 32 bit platforms.
    
    The port requires GMP on platforms that lack __int128, i.e. 32 bit platforms,
    but LIB_DEPENDS for libgmp is only present for i386.
    This patch extends the existing i386 special case to known 32 bit platforms so
    the port builds on armv7 FreeBSD and hopefully others.
    
    PR:             258442
    Approved by:    danilo (maintainer timeout)
---
 games/freecell-solver/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index 69e32a071efa..de3c36306ad2 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -23,7 +23,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}random2>=1.0.1:math/py-random2@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pysol-cards>=0.10.0:games/py-pysol-cards@${PY_FLAVOR}
 LIB_DEPENDS=	${LIB_DEPENDS_${ARCH}}
+LIB_DEPENDS_armv6=	libgmp.so:math/gmp
+LIB_DEPENDS_armv7=	libgmp.so:math/gmp
 LIB_DEPENDS_i386=	libgmp.so:math/gmp
+LIB_DEPENDS_mips=	libgmp.so:math/gmp
+LIB_DEPENDS_powerpc=	libgmp.so:math/gmp
 
 OPTIONS_DEFINE=	DOCS TCMALLOC
 TCMALLOC_DESC=	Use Google's TCMalloc