Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2004 00:00:20 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68863: Update port: devel/gaul to 0.1847.0
Message-ID:  <20040710000020.4bd88c75.tkato432@yahoo.com>
Resent-Message-ID: <200407091510.i69FAJ9n088220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68863
>Category:       ports
>Synopsis:       Update port: devel/gaul to 0.1847.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 09 15:10:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.1847.0

Remove file:
files/patch-gaul_util.h
files/patch-util::str_util.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/gaul/Makefile devel/gaul/Makefile
--- /usr/ports/devel/gaul/Makefile	Sun Feb  8 11:35:51 2004
+++ devel/gaul/Makefile	Thu Jul  8 15:12:18 2004
@@ -7,24 +7,26 @@
 #
 
 PORTNAME=	gaul
-PORTVERSION=	0.1846
-PORTREVISION=	1
+PORTVERSION=	0.1847.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}-devel-${PORTVERSION}-0
+DISTNAME=	${PORTNAME}-devel-${PORTVERSION:R}-${PORTVERSION:E}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Genetic Algorithm Utility Library
 
 LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
 
-USE_GNOME=	gnometarget
+USE_REINPLACE=	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lcurses"
-
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFAGS}" \
+		LDFLAGS="-L${LOCALBASE}/lib -lcurses ${PTHREAD_LIBS}"
 INSTALLS_SHLIB=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lpthread||g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/gaul/distinfo devel/gaul/distinfo
--- /usr/ports/devel/gaul/distinfo	Thu Jan 29 20:21:16 2004
+++ devel/gaul/distinfo	Thu Jul  8 15:08:40 2004
@@ -1,2 +1,2 @@
-MD5 (gaul-devel-0.1846-0.tar.gz) = 1cce2bf4546ee4739f85076ab26ca983
-SIZE (gaul-devel-0.1846-0.tar.gz) = 497588
+MD5 (gaul-devel-0.1847-0.tar.gz) = 95e6e943801fa6cad6fe65d715c5f6ac
+SIZE (gaul-devel-0.1847-0.tar.gz) = 489746
diff -urN /usr/ports/devel/gaul/files/patch-gaul_util.h devel/gaul/files/patch-gaul_util.h
--- /usr/ports/devel/gaul/files/patch-gaul_util.h	Fri Oct 31 11:17:49 2003
+++ devel/gaul/files/patch-gaul_util.h	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- util/gaul/gaul_util.h.orig	Fri Oct 31 10:06:41 2003
-+++ util/gaul/gaul_util.h	Fri Oct 31 10:06:52 2003
-@@ -103,7 +103,7 @@
- /*
-  * Define boolean type sensibly.
-  */
--#if HAVE_STDBOOL_H != 1
-+#if HAVE_STDBOOL_H == 1
- # include <stdbool.h>
- #else
- 
diff -urN /usr/ports/devel/gaul/files/patch-util::str_util.c devel/gaul/files/patch-util::str_util.c
--- /usr/ports/devel/gaul/files/patch-util::str_util.c	Sun Feb  8 06:24:23 2004
+++ devel/gaul/files/patch-util::str_util.c	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
---- util/str_util.c.orig	Wed Jul 16 23:56:06 2003
-+++ util/str_util.c	Sat Feb  7 22:19:51 2004
-@@ -1103,7 +1103,11 @@
- /*
-  * Determine required size for destination buffer.
-  */
-+  #if defined(__amd64__)
-+  va_copy(orig_ap, ap);
-+  #else
-   orig_ap = ap;
-+  #endif
-   len = strlen(str);
- 
-   while ( (sp = va_arg(ap, char *))!=NULL ) len += strlen(sp);
diff -urN /usr/ports/devel/gaul/pkg-plist devel/gaul/pkg-plist
--- /usr/ports/devel/gaul/pkg-plist	Tue Oct 28 17:05:26 2003
+++ devel/gaul/pkg-plist	Thu Jul  8 15:25:31 2004
@@ -1,7 +1,7 @@
-bin/diagnostics
 bin/fitting
 bin/fitting_sd
 bin/fitting_simplex
+bin/gaul_diagnostics
 bin/goldberg1
 bin/goldberg2
 bin/mixed
@@ -24,16 +24,18 @@
 bin/struggle5_mp
 bin/struggle_dc
 bin/struggle_forked
+bin/struggle_mp
+bin/struggle_mpi
 bin/struggle_randomsearch
 bin/struggle_ss
 bin/struggle_systematicsearch
+bin/struggle_threaded
 bin/test_ga
 bin/test_sd
 bin/test_simplex
 bin/wildfire
 bin/wildfire_forked
 bin/wildfire_loadbalancing
-include/gaul.h
 include/gaul/avltree.h
 include/gaul/compatibility.h
 include/gaul/ga_bitstring.h
@@ -59,14 +61,11 @@
 include/gaul/log_util.h
 include/gaul/memory_chunks.h
 include/gaul/memory_util.h
-include/gaul/mpi_util.h
 include/gaul/nn_util.h
 include/gaul/random_util.h
-include/gaul/str_match.h
-include/gaul/str_util.h
 include/gaul/table_util.h
 include/gaul/timer_util.h
-@dirrm include/gaul
+include/gaul.h
 lib/libgaul.a
 lib/libgaul.so
 lib/libgaul.so.0
@@ -76,3 +75,4 @@
 lib/libnn_util.a
 lib/libnn_util.so
 lib/libnn_util.so.0
+@dirrm include/gaul
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040710000020.4bd88c75.tkato432>