summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2022-09-18 19:06:27 +0000
committerhe <he@pkgsrc.org>2022-09-18 19:06:27 +0000
commite368f54888df4fb19c2c4a36c4fe79b1442091c6 (patch)
tree123deb5600ec29c3b5cbea3bb8380435141460e1
parent77cbc68ce9979850b64b89aca139d07acc502958 (diff)
downloadpkgsrc-e368f54888df4fb19c2c4a36c4fe79b1442091c6.tar.gz
games/freecell-solver: pull in gmp for 128-bit ints on powerpc.
-rw-r--r--games/freecell-solver/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index 0b20f260eae..5c04a50e463 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/06/30 11:18:24 nia Exp $
+# $NetBSD: Makefile,v 1.7 2022/09/18 19:06:27 he Exp $
DISTNAME= freecell-solver-5.14.0
PKGREVISION= 5
@@ -40,6 +40,11 @@ SUBST_MESSAGE.man= Fix man dir.
SUBST_FILES.man= cmake/Shlomif_Common.cmake
SUBST_SED.man= -e 's:share/man:man:'
+.if ${MACHINE_ARCH} == "powerpc"
+# for 128-bit ints
+.include "../../devel/gmp/buildlink3.mk"
+.endif
+
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"