summaryrefslogtreecommitdiff
path: root/math/gambit
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-11-07 12:14:59 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-11-07 12:14:59 +0000
commit55832e34658044895496ee9ab03ada3197eb5990 (patch)
tree595adf5ac58880e52992763a6c8670e3128c5839 /math/gambit
parentThis patch upgrades AdaSockets to the latest version, which is needed to (diff)
- update to 0.97.0.5
- use wxgtk2 - install to X11BASE (it's GUI application) - update WWW in pkg-descr PR: 58983 Submitted by: Pav Lucistnik
Notes
Notes: svn path=/head/; revision=93301
Diffstat (limited to 'math/gambit')
-rw-r--r--math/gambit/Makefile7
-rw-r--r--math/gambit/distinfo2
-rw-r--r--math/gambit/files/patch-gcmdline.cc18
-rw-r--r--math/gambit/files/patch-gnulib.cc11
-rw-r--r--math/gambit/files/patch-gnulib.h4
-rw-r--r--math/gambit/pkg-descr2
6 files changed, 9 insertions, 35 deletions
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index e235f83f0e4c..b54bbbe06213 100644
--- a/math/gambit/Makefile
+++ b/math/gambit/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gambit
-PORTVERSION= 0.97.0.3
+PORTVERSION= 0.97.0.5
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,10 +15,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library of tools for doing computation in game theory
-LIB_DEPENDS= wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk-devel
+LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
USE_REINPLACE= yes
+USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= WX_CONFIG=${X11BASE}/bin/wxgtk2-2.4-config
+MAKE_ENV= WX_CONFIG=${X11BASE}/bin/wxgtk2-2.4-config
post-patch:
@${GREP} -lR "values\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
diff --git a/math/gambit/distinfo b/math/gambit/distinfo
index 62e40002072c..a65ae9ca3551 100644
--- a/math/gambit/distinfo
+++ b/math/gambit/distinfo
@@ -1 +1 @@
-MD5 (gambit-0.97.0.3.tar.gz) = ec6db5a877c69fe9a7ad7379250c20ff
+MD5 (gambit-0.97.0.5.tar.gz) = 2031f88c693652b09a4bc7d6f9591211
diff --git a/math/gambit/files/patch-gcmdline.cc b/math/gambit/files/patch-gcmdline.cc
deleted file mode 100644
index fa99b6de3aee..000000000000
--- a/math/gambit/files/patch-gcmdline.cc
+++ /dev/null
@@ -1,18 +0,0 @@
---- sources/gcl/gcmdline.cc.orig Sun Feb 9 02:23:11 2003
-+++ sources/gcl/gcmdline.cc Sun Feb 9 02:26:28 2003
-@@ -81,7 +81,6 @@
- rawTerm.c_iflag &= ~ICRNL;
- rawTerm.c_iflag &= ~IXON;
- rawTerm.c_iflag &= ~IXOFF;
-- rawTerm.c_iflag &= ~IUCLC;
- rawTerm.c_iflag &= ~IXANY;
- rawTerm.c_iflag &= ~IMAXBEL;
-
-@@ -90,7 +89,6 @@
- // rawTerm.c_lflag &= ~ISIG;
- rawTerm.c_lflag |= ISIG;
- rawTerm.c_lflag &= ~ICANON;
-- rawTerm.c_lflag &= ~XCASE;
- rawTerm.c_lflag &= ~ECHO;
-
- rawTerm.c_cc[VTIME] = 0;
diff --git a/math/gambit/files/patch-gnulib.cc b/math/gambit/files/patch-gnulib.cc
deleted file mode 100644
index 23310f76f060..000000000000
--- a/math/gambit/files/patch-gnulib.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- sources/math/gnulib.cc.orig Sun Feb 9 01:57:37 2003
-+++ sources/math/gnulib.cc Sun Feb 9 01:57:55 2003
-@@ -112,7 +112,7 @@
- v &= chunklimit == chunk->limit;
- _obstack_chunk* p = chunk;
- // allow lots of chances to find bottom!
-- long x = MAXLONG;
-+ long x = LONG_MAX;
- while (p != 0 && x != 0) { --x; p = p->prev; }
- v &= x > 0;
- return v;
diff --git a/math/gambit/files/patch-gnulib.h b/math/gambit/files/patch-gnulib.h
index 80ac59a172d7..c0889b2e39aa 100644
--- a/math/gambit/files/patch-gnulib.h
+++ b/math/gambit/files/patch-gnulib.h
@@ -4,7 +4,7 @@
#ifndef GNULIB_H
#define GNULIB_H
--#ifdef __GNUG__
+-#if defined(__GNUG__) && !defined(__APPLE_CC__)
-#include <_G_config.h>
-#endif // __GNUG__
#include <stddef.h>
@@ -14,7 +14,7 @@
#include <errno.h>
#include <fcntl.h>
--#ifdef __GNUG__
+-#if defined(__GNUG__) && !defined(__APPLE_CC__)
-extern "C" {
-int strcasecmp _G_ARGS((const char*, const char*));
-}
diff --git a/math/gambit/pkg-descr b/math/gambit/pkg-descr
index 73b25648297b..fdeb56059a5e 100644
--- a/math/gambit/pkg-descr
+++ b/math/gambit/pkg-descr
@@ -10,4 +10,4 @@ Gambit includes:
- A library of C++ source code for representing games, suitable for use
in other applications.
-WWW: http://www.hss.caltech.edu/gambit/
+WWW: http://econweb.tamu.edu/gambit/