ports/58983: [orphan] math/gambit to 0.97.0.5 and wxgtk2

Pav Lucistnik pav at oook.cz
Wed Nov 5 22:40:11 UTC 2003


>Number:         58983
>Category:       ports
>Synopsis:       [orphan] math/gambit to 0.97.0.5 and wxgtk2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 05 14:40:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pav Lucistnik
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hood.oook.cz 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Oct 18 01:19:19 CEST 2003 root at hood.oook.cz:/usr/obj/usr/src/sys/PAV i386


	
>Description:
math/gambit, game theory package

- update to 0.97.0.5
- use wxgtk2
- install to X11BASE (it's GUI application)
- update WWW in pkg-descr

committer please cvs remove patch-cmdline.cc and patch-gnulib.cc

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/math/gambit/Makefile gambit/Makefile
--- /usr/ports/math/gambit/Makefile	Wed Nov  5 00:25:10 2003
+++ gambit/Makefile	Wed Nov  5 23:32:06 2003
@@ -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 @@
 MAINTAINER=	ports at 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 -ruN /usr/ports/math/gambit/distinfo gambit/distinfo
--- /usr/ports/math/gambit/distinfo	Sun Feb  9 06:23:06 2003
+++ gambit/distinfo	Wed Nov  5 22:08:41 2003
@@ -1 +1 @@
-MD5 (gambit-0.97.0.3.tar.gz) = ec6db5a877c69fe9a7ad7379250c20ff
+MD5 (gambit-0.97.0.5.tar.gz) = 2031f88c693652b09a4bc7d6f9591211
diff -ruN /usr/ports/math/gambit/files/patch-gcmdline.cc gambit/files/patch-gcmdline.cc
--- /usr/ports/math/gambit/files/patch-gcmdline.cc	Sun Feb  9 06:23:06 2003
+++ gambit/files/patch-gcmdline.cc	Thu Jan  1 01:00:00 1970
@@ -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 -ruN /usr/ports/math/gambit/files/patch-gnulib.cc gambit/files/patch-gnulib.cc
--- /usr/ports/math/gambit/files/patch-gnulib.cc	Sun Feb  9 06:23:06 2003
+++ gambit/files/patch-gnulib.cc	Thu Jan  1 01:00:00 1970
@@ -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 -ruN /usr/ports/math/gambit/files/patch-gnulib.h gambit/files/patch-gnulib.h
--- /usr/ports/math/gambit/files/patch-gnulib.h	Sun Feb  9 06:23:06 2003
+++ gambit/files/patch-gnulib.h	Wed Nov  5 22:45:04 2003
@@ -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 -ruN /usr/ports/math/gambit/pkg-descr gambit/pkg-descr
--- /usr/ports/math/gambit/pkg-descr	Sun Feb  9 06:23:06 2003
+++ gambit/pkg-descr	Wed Nov  5 22:07:24 2003
@@ -10,4 +10,4 @@
    - 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/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list