1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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)
This commit is contained in:
Robert Clausecker 2021-09-11 23:53:39 +02:00 committed by Mikael Urankar
parent c489dba516
commit cb25b8c973

View File

@ -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