From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 31 03:30:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2A18106566B for ; Sat, 31 Mar 2012 03:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 89EC08FC0C for ; Sat, 31 Mar 2012 03:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2V3UCtG046126 for ; Sat, 31 Mar 2012 03:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2V3UCf5046124; Sat, 31 Mar 2012 03:30:12 GMT (envelope-from gnats) Resent-Date: Sat, 31 Mar 2012 03:30:12 GMT Resent-Message-Id: <201203310330.q2V3UCf5046124@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tz-Huan Huang Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DC831065674 for ; Sat, 31 Mar 2012 03:22:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9828FC0C for ; Sat, 31 Mar 2012 03:22:52 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2V3Mqfg011984 for ; Sat, 31 Mar 2012 03:22:52 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2V3MplH011977; Sat, 31 Mar 2012 03:22:51 GMT (envelope-from nobody) Message-Id: <201203310322.q2V3MplH011977@red.freebsd.org> Date: Sat, 31 Mar 2012 03:22:51 GMT From: Tz-Huan Huang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166533: update math/fann from 2.1.0b to 2.2.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 03:30:12 -0000 >Number: 166533 >Category: ports >Synopsis: update math/fann from 2.1.0b to 2.2.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Mar 31 03:30:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Tz-Huan Huang >Release: 9.0-CURRENT >Organization: National Taiwan University >Environment: FreeBSD tzhuan.csie.org 9.0-CURRENT FreeBSD 9.0-CURRENT #9 r223076M: Thu Jun 16 00:07:14 CST 2011 root@tzhuan.csie.org:/usr/obj/usr/src/sys/TZHUAN amd64 >Description: Update math/fann from 2.1.0b to 2.2.0 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN fann.orig/Makefile fann/Makefile --- fann.orig/Makefile 2009-08-22 08:28:00.000000000 +0800 +++ fann/Makefile 2012-03-31 11:11:50.014150993 +0800 @@ -6,17 +6,24 @@ # PORTNAME= fann -PORTVERSION= 2.1.0b +PORTVERSION= 2.2.0 CATEGORIES= math science -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}eta -DISTNAME= fann-2.1.0beta +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} +DISTNAME= FANN-2.2.0-Source MAINTAINER= tzhuan@csie.org COMMENT= A free open source neural network library -WRKSRC= ${WRKDIR}/fann-2.1.0 +WRKSRC= ${WRKDIR}/FANN-2.2.0-Source + +USE_CMAKE= yes USE_ZIP= yes -GNU_CONFIGURE= yes USE_LDCONFIG= yes +post-patch: + ${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|g' ${WRKSRC}/CMakeLists.txt + +post-configure: + ${ENV} CPP=${CPP} CC=${CC} CXX=${CXX} ${CMAKE_BIN} ${WRKSRC} -DCMAKE_INSTALL_PREFIX=${PREFIX} + .include diff -urN fann.orig/distinfo fann/distinfo --- fann.orig/distinfo 2011-03-20 20:50:05.000000000 +0800 +++ fann/distinfo 2012-03-31 11:10:17.226136190 +0800 @@ -1,2 +1,2 @@ -SHA256 (fann-2.1.0beta.zip) = c24171b5b9c87946bd2f50045cc8dbd0121629fe426615501db14e6043e4a141 -SIZE (fann-2.1.0beta.zip) = 4033198 +SHA256 (FANN-2.2.0-Source.zip) = 434b85fce60701c4e0066c442d60110d8e649f278e4edb814f0c0e7a1e0929fd +SIZE (FANN-2.2.0-Source.zip) = 2285087 diff -urN fann.orig/files/patch-Makefile.in fann/files/patch-Makefile.in --- fann.orig/files/patch-Makefile.in 2007-03-07 03:15:43.000000000 +0800 +++ fann/files/patch-Makefile.in 1970-01-01 08:00:00.000000000 +0800 @@ -1,11 +0,0 @@ ---- Makefile.in.orig Sun Mar 4 21:27:52 2007 -+++ Makefile.in Thu Sep 14 13:40:25 2006 -@@ -179,7 +179,7 @@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ - SUBDIRS = src --pkgconfigdir = $(libdir)/pkgconfig -+pkgconfigdir = $(prefix)/libdata/pkgconfig - pkgconfig_DATA = fann.pc - EXTRA_DIST = benchmarks examples MicrosoftVisualC++6.0 MicrosoftVisualC++.Net \ - MicrosoftWindowsDll BorlandC++Builder6.0 src/include/config.h \ diff -urN fann.orig/pkg-descr fann/pkg-descr --- fann.orig/pkg-descr 2007-03-07 03:15:43.000000000 +0800 +++ fann/pkg-descr 2012-03-31 11:04:12.066154462 +0800 @@ -1,11 +1,11 @@ Fast Artificial Neural Network Library is a free open source neural network library, which implements multilayer artificial neural networks in C with -support for both fully connected and sparsely connected networks. -Cross-platform execution in both fixed and floating point are supported. It -includes a framework for easy handling of training data sets. It is easy to -use, versatile, well documented, and fast. PHP, C++, .NET, Ada, Python, Delphi, -Octave, Ruby, Pure Data and Mathematica bindings are available. A reference -manual accompanies the library with examples and recommendations on how to use -the library. A graphical user interface is also available for the library. +support for both fully connected and sparsely connected networks. Cross-platform +execution in both fixed and floating point are supported. It includes a +framework for easy handling of training data sets. It is easy to use, versatile, +well documented, and fast. Bindings to more than 15 programming languages are +available. An easy to read introduction article and a reference manual +accompanies the library with examples and recommendations on how to use the +library. Several graphical user interfaces are also available for the library. -WWW: http://leenissen.dk/fann/ +WWW: http://leenissen.dk/ diff -urN fann.orig/pkg-plist fann/pkg-plist --- fann.orig/pkg-plist 2007-03-07 03:15:43.000000000 +0800 +++ fann/pkg-plist 2012-03-31 11:08:23.315151985 +0800 @@ -3,6 +3,7 @@ include/fann.h include/fann_activation.h include/fann_cascade.h +include/fann_cpp.h include/fann_data.h include/fann_error.h include/fann_internal.h @@ -10,20 +11,16 @@ include/fann_train.h include/fixedfann.h include/floatfann.h -lib/libdoublefann.a -lib/libdoublefann.la lib/libdoublefann.so lib/libdoublefann.so.2 -lib/libfann.a -lib/libfann.la +lib/libdoublefann.so.2.2.0 lib/libfann.so lib/libfann.so.2 -lib/libfixedfann.a -lib/libfixedfann.la +lib/libfann.so.2.2.0 lib/libfixedfann.so lib/libfixedfann.so.2 -lib/libfloatfann.a -lib/libfloatfann.la +lib/libfixedfann.so.2.2.0 lib/libfloatfann.so lib/libfloatfann.so.2 +lib/libfloatfann.so.2.2.0 libdata/pkgconfig/fann.pc >Release-Note: >Audit-Trail: >Unformatted: