Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2008 09:28:53 GMT
From:      bf <bf2006a@yahoo.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125557: [PATCH]devel/open-beagle: update to 3.0.3
Message-ID:  <200807130928.m6D9SrHM090044@www.freebsd.org>
Resent-Message-ID: <200807130930.m6D9U2Ok039335@freefall.freebsd.org>

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

>Number:         125557
>Category:       ports
>Synopsis:       [PATCH]devel/open-beagle: update to 3.0.3
>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:   Sun Jul 13 09:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN open-beagle.orig/Makefile open-beagle/Makefile
--- open-beagle.orig/Makefile	2007-06-10 19:21:57.000000000 -0400
+++ open-beagle/Makefile	2008-07-13 04:28:08.511287155 -0400
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	open-beagle
-PORTVERSION=	3.0.1
+PORTVERSION=	3.0.3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	beagle
@@ -16,14 +16,20 @@
 MAINTAINER=	sf@slappy.org
 COMMENT=	An Evolutionary Computation Framework
 
-CONFLICTS=	beagle-[0-9]*
-USE_AUTOTOOLS=	libtool:15
-USE_GCC=	3.3+
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-optimization
+CONFLICTS=		beagle-[0-9]*
+USE_AUTOTOOLS=		libtool:15
+CONFIGURE_ARGS+=	--enable-optimization --with-zlib=/usr
 USE_LDCONFIG=	yes
 USE_GMAKE=	yes
+PACCVERSION=	1.3.1b
 
-PLIST_SUB=	PORTVERSION=${PORTVERSION}
+PLIST_SUB=	PORTVERSION=${PORTVERSION} PACCVERSION=${PACCVERSION}
+BUILD_DEPENDS +=	gsed:${PORTSDIR}/textproc/gsed
+
+#unfortunately, some important sed statements rely on GNU sed behavior, and can't be
+#easily changed to call GNU sed by means of the configure script
+post-configure:
+		${FIND} -X ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} \
+		's/sed /gsed /g'
 
 .include <bsd.port.mk>
diff -ruN open-beagle.orig/distinfo open-beagle/distinfo
--- open-beagle.orig/distinfo	2006-09-13 13:09:32.000000000 -0400
+++ open-beagle/distinfo	2008-07-11 23:15:57.747416000 -0400
@@ -1,3 +1,3 @@
-MD5 (beagle-3.0.1.tar.gz) = 22d1cce24e8a699b457ed196c2a30b51
-SHA256 (beagle-3.0.1.tar.gz) = a0f5dd1f1041cbf44858e89795790ef1d2634564a93a410885fb566d341e5814
-SIZE (beagle-3.0.1.tar.gz) = 4838478
+MD5 (beagle-3.0.3.tar.gz) = 8cf5a90ddf0595e1b13e0230e3251ad0
+SHA256 (beagle-3.0.3.tar.gz) = a350e59645a2e75b9701768f9ae7338c937874526f8154dc88c43b10d3c0dfea
+SIZE (beagle-3.0.3.tar.gz) = 5002860
diff -ruN open-beagle.orig/files/patch-PACC-Util-SignalHandler.cpp open-beagle/files/patch-PACC-Util-SignalHandler.cpp
--- open-beagle.orig/files/patch-PACC-Util-SignalHandler.cpp	2006-09-13 13:09:33.000000000 -0400
+++ open-beagle/files/patch-PACC-Util-SignalHandler.cpp	1969-12-31 19:00:00.000000000 -0500
@@ -1,20 +0,0 @@
---- PACC/Util/SignalHandler.cpp.orig	Wed Oct  5 06:38:27 2005
-+++ PACC/Util/SignalHandler.cpp	Mon Sep 11 16:09:17 2006
-@@ -89,7 +89,7 @@
- 	//the signal is not defined under Windows, do nothing
- 	if(inSignalNumber < 1) return;
- 	if(smOldSigIgn[inSignalNumber] != NULL) return;
--	smOldSigIgn[inSignalNumber] = (void*)signal(inSignalNumber, SIG_IGN);
-+	smOldSigIgn[inSignalNumber] = (void*)signal(inSignalNumber, (void (*)(int))SIG_IGN);
- }
- 
- /*!
-@@ -126,7 +126,7 @@
- 		signal(inSignalNumber, (__sighandler_t)smOldSigIgn[inSignalNumber]);
- #endif
- 	}
--	else signal(inSignalNumber, SIG_DFL);
-+	else signal(inSignalNumber, (void (*)(int))SIG_DFL);
- 	smOldSigIgn[inSignalNumber] = NULL;
- }
- 
diff -ruN open-beagle.orig/pkg-plist open-beagle/pkg-plist
--- open-beagle.orig/pkg-plist	2006-09-13 13:09:32.000000000 -0400
+++ open-beagle/pkg-plist	2008-07-12 00:45:00.053377000 -0400
@@ -1,5 +1,6 @@
 include/Math.hpp
 include/Math/Matrix.hpp
+include/Math/QRandSequencer.hpp
 include/Math/Vector.hpp
 include/SVG.hpp
 include/SVG/Canvas.hpp
@@ -87,6 +88,7 @@
 include/beagle/Float.hpp
 include/beagle/GA.hpp
 include/beagle/GA/BitString.hpp
+include/beagle/GA/CMAHolder.hpp
 include/beagle/GA/CrossoverBlendESVecOp.hpp
 include/beagle/GA/CrossoverBlendFltVecOp.hpp
 include/beagle/GA/CrossoverIndicesIntVecOp.hpp
@@ -113,6 +115,7 @@
 include/beagle/GA/EvolverIntegerVector.hpp
 include/beagle/GA/FloatVector.hpp
 include/beagle/GA/InitBitStrOp.hpp
+include/beagle/GA/InitCMAFltVecOp.hpp
 include/beagle/GA/InitESVecOp.hpp
 include/beagle/GA/InitFltVecOp.hpp
 include/beagle/GA/InitIndicesIntVecOp.hpp
@@ -125,6 +128,7 @@
 include/beagle/GA/MutationGaussianFltVecOp.hpp
 include/beagle/GA/MutationShuffleIntVecOp.hpp
 include/beagle/GA/MutationUniformIntVecOp.hpp
+include/beagle/GA/TermCMAOp.hpp
 include/beagle/GP.hpp
 include/beagle/GP/ADF.hpp
 include/beagle/GP/AbsT.hpp
@@ -296,27 +300,27 @@
 lib/libbeagle.a
 lib/libbeagle.la
 lib/libbeagle.so
-lib/libpacc-math-1.2.1.so
+lib/libpacc-math-%%PACCVERSION%%.so
 lib/libpacc-math.a
 lib/libpacc-math.la
 lib/libpacc-math.so
-lib/libpacc-socket-1.2.1.so
+lib/libpacc-socket-%%PACCVERSION%%.so
 lib/libpacc-socket.a
 lib/libpacc-socket.la
 lib/libpacc-socket.so
-lib/libpacc-svg-1.2.1.so
+lib/libpacc-svg-%%PACCVERSION%%.so
 lib/libpacc-svg.a
 lib/libpacc-svg.la
 lib/libpacc-svg.so
-lib/libpacc-threading-1.2.1.so
+lib/libpacc-threading-%%PACCVERSION%%.so
 lib/libpacc-threading.a
 lib/libpacc-threading.la
 lib/libpacc-threading.so
-lib/libpacc-util-1.2.1.so
+lib/libpacc-util-%%PACCVERSION%%.so
 lib/libpacc-util.a
 lib/libpacc-util.la
 lib/libpacc-util.so
-lib/libpacc-xml-1.2.1.so
+lib/libpacc-xml-%%PACCVERSION%%.so
 lib/libpacc-xml.a
 lib/libpacc-xml.la
 lib/libpacc-xml.so


>Release-Note:
>Audit-Trail:
>Unformatted:



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