Skip to content

Commit cb25b8c

Browse files
clauseckerMikaelUrankar
authored andcommitted
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)
1 parent c489dba commit cb25b8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

games/freecell-solver/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}random2>=1.0.1:math/py-random2@${PY_FLAVOR}
2323
${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
2424
${PYTHON_PKGNAMEPREFIX}pysol-cards>=0.10.0:games/py-pysol-cards@${PY_FLAVOR}
2525
LIB_DEPENDS= ${LIB_DEPENDS_${ARCH}}
26+
LIB_DEPENDS_armv6= libgmp.so:math/gmp
27+
LIB_DEPENDS_armv7= libgmp.so:math/gmp
2628
LIB_DEPENDS_i386= libgmp.so:math/gmp
29+
LIB_DEPENDS_mips= libgmp.so:math/gmp
30+
LIB_DEPENDS_powerpc= libgmp.so:math/gmp
2731

2832
OPTIONS_DEFINE= DOCS TCMALLOC
2933
TCMALLOC_DESC= Use Google's TCMalloc

0 commit comments

Comments
 (0)