summaryrefslogtreecommitdiff
path: root/math/gambit
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-06-24 10:42:25 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-06-24 10:42:25 +0000
commit86fa7b57e504b87bff735a2e20d823c77cc342fb (patch)
treeb2de0374abfb171a8853ad990917b05ad1136de0 /math/gambit
parentUpdate to 1.0.2 (diff)
- Update to 13.0.0
Release announcement: http://sourceforge.net/mailarchive/message.php?msg_id=31063426
Notes
Notes: svn path=/head/; revision=321673
Diffstat (limited to 'math/gambit')
-rw-r--r--math/gambit/Makefile30
-rw-r--r--math/gambit/distinfo4
-rw-r--r--math/gambit/files/patch-src-labenski-src_sheet.cpp14
-rw-r--r--math/gambit/pkg-plist1
4 files changed, 24 insertions, 25 deletions
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index 7d5483c0ab7b..41c0f00135f1 100644
--- a/math/gambit/Makefile
+++ b/math/gambit/Makefile
@@ -1,34 +1,20 @@
-# ex:ts=8
-# Ports collection makefile for: gambit
-# Date created: Feb 8, 2003
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= gambit
-PORTVERSION= 0.2010.09.01
-PORTREVISION= 1
+PORTVERSION= 13.0.0
CATEGORIES= math
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
+MASTER_SITES= SF/gambit/${PORTNAME}13/${PORTVERSION}/
MAINTAINER= gahr@FreeBSD.org
COMMENT= A library of tools for doing computation in game theory
+LICENSE= GPLv2
+
USE_GNOME= gtk20
-WANT_UNICODE= yes
-USE_WX= 2.6+
-USE_AUTOTOOLS= libtool
-CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG}
+USE_WX= 2.8+
USE_LDCONFIG= yes
-
-CPPFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
-.if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == ""
-CFLAGS+= -O2 -fno-strict-aliasing
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG}
.include <bsd.port.mk>
diff --git a/math/gambit/distinfo b/math/gambit/distinfo
index 35b76f43c552..c7d1baf47713 100644
--- a/math/gambit/distinfo
+++ b/math/gambit/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gambit-0.2010.09.01.tar.gz) = a224851e56302d345a3c6e9dfa5366d2edcd24b694ef532f0ad253bc9e5290e2
-SIZE (gambit-0.2010.09.01.tar.gz) = 1400267
+SHA256 (gambit-13.0.0.tar.gz) = 47db59b15f1f8f341cdf8ef0ecc2bcef5ec252baec0635eb518ea0e0c7eb8249
+SIZE (gambit-13.0.0.tar.gz) = 1610787
diff --git a/math/gambit/files/patch-src-labenski-src_sheet.cpp b/math/gambit/files/patch-src-labenski-src_sheet.cpp
new file mode 100644
index 000000000000..b3d63f5fca12
--- /dev/null
+++ b/math/gambit/files/patch-src-labenski-src_sheet.cpp
@@ -0,0 +1,14 @@
+--- src/labenski/src/sheet.cpp.orig 2013-06-24 11:57:48.000000000 +0200
++++ src/labenski/src/sheet.cpp 2013-06-24 12:00:50.000000000 +0200
+@@ -7098,9 +7098,9 @@
+ wxPrintf(wxT("COUNT MISMATCH ERROR! \n"));
+
+ for (size_t n = 0; n < wxMin(ans.GetCount(), res.GetCount()); n++)
+- if (ans[n] != res[n]) wxPrintf(wxT("Error in item %u\n"), n);
++ if (ans[n] != res[n]) wxPrintf(wxT("Error in item %zu\n"), n);
+
+- wxPrintf(msg + wxT("\n"));
++ wxPrintf("%s\n", msg.ToAscii());
+ }
+
+ #define CSVT1(str, a1) { wxArrayString ar; ar.Add(wxT(a1)); CSV_TEST(wxT(str), ar, ParseLine(wxT(str))); }
diff --git a/math/gambit/pkg-plist b/math/gambit/pkg-plist
index c16e362447fc..0f9b78040e1b 100644
--- a/math/gambit/pkg-plist
+++ b/math/gambit/pkg-plist
@@ -23,7 +23,6 @@ include/libgambit/game.h
include/libgambit/integer.h
include/libgambit/libgambit.h
include/libgambit/list.h
-include/libgambit/map.h
include/libgambit/matrix.h
include/libgambit/matrix.imp
include/libgambit/mixed.h