pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/freecell-solver games/freecell-solver: pull in g...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82307231c81d
branches:  trunk
changeset: 385533:82307231c81d
user:      he <he%pkgsrc.org@localhost>
date:      Sun Sep 18 19:06:27 2022 +0000

description:
games/freecell-solver: pull in gmp for 128-bit ints on powerpc.

diffstat:

 games/freecell-solver/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 985737d0c2b9 -r 82307231c81d games/freecell-solver/Makefile
--- a/games/freecell-solver/Makefile    Sun Sep 18 18:33:51 2022 +0000
+++ b/games/freecell-solver/Makefile    Sun Sep 18 19:06:27 2022 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index