From gaod@cse.tw  Tue Jun  8 00:22:55 2010
Return-Path: <gaod@cse.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EC5DB106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Jun 2010 00:22:54 +0000 (UTC)
	(envelope-from gaod@cse.tw)
Received: from cse.tw (cse.tw [140.138.145.237])
	by mx1.freebsd.org (Postfix) with ESMTP id A984A8FC1C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Jun 2010 00:22:54 +0000 (UTC)
Received: from cse.tw (localhost [127.0.0.1])
	by cse.tw (Postfix) with ESMTP id 5EDCE1E8C1F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Jun 2010 08:22:27 +0800 (CST)
Received: (from root@localhost)
	by cse.tw (8.14.4/8.14.3/Submit) id o580MRO7007783;
	Tue, 8 Jun 2010 08:22:27 +0800 (CST)
	(envelope-from gaod)
Message-Id: <201006080022.o580MRO7007783@cse.tw>
Date: Tue, 8 Jun 2010 08:22:27 +0800 (CST)
From: Hung-Yi Chen <gaod@hychen.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] math/liblbfgs: A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         147670
>Category:       ports
>Synopsis:       [NEW PORT] math/liblbfgs: A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 08 00:30:06 UTC 2010
>Closed-Date:    Tue Jun 22 01:55:12 UTC 2010
>Last-Modified:  Tue Jun 22 02:00:06 UTC 2010
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 8.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD cse.tw 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #9: Fri May 28 01:48:32 CST 2010
>Description:
This library is a C port of the implementation of Limited-memory 
Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal.
The original FORTRAN source code is available at: 
http://www.ece.northwestern.edu/~nocedal/lbfgs.html

WWW:	http://www.chokkan.org/software/liblbfgs/

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- liblbfgs-1.9.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	liblbfgs
#	liblbfgs/pkg-descr
#	liblbfgs/Makefile
#	liblbfgs/files
#	liblbfgs/files/patch-lib_arithmetic_sse_double.h
#	liblbfgs/distinfo
#
echo c - liblbfgs
mkdir -p liblbfgs > /dev/null 2>&1
echo x - liblbfgs/pkg-descr
sed 's/^X//' >liblbfgs/pkg-descr << '8eeb88e564aad3921d5818584e295f60'
XThis library is a C port of the implementation of Limited-memory 
XBroyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal.
XThe original FORTRAN source code is available at: 
Xhttp://www.ece.northwestern.edu/~nocedal/lbfgs.html
X
XWWW:	http://www.chokkan.org/software/liblbfgs/
8eeb88e564aad3921d5818584e295f60
echo x - liblbfgs/Makefile
sed 's/^X//' >liblbfgs/Makefile << '0dc7b1aaeb0cfd8a0c95c931d63e907d'
X# New ports collection makefile for:	liblbfgs
X# Date created:		2010-06-08
X# Whom:			Hung-Yi Chen <gaod@hychen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	liblbfgs
XPORTVERSION=	1.9
XCATEGORIES=	math
XMASTER_SITES=	http://www.chokkan.org/software/dist/
X
XMAINTAINER=	gaod@hychen.org
XCOMMENT=	A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
X
XGNU_CONFIGURE=	yes
XUSE_AUTOTOOLS=	autoconf:262:env
X
XOPTIONS=	OPTIMIZED "Enable SSE2 optimization routines" off
X
X.include <bsd.port.options.mk>
X
X# Enable/disable compilation optimizations.
X.if defined(WITH_OPTIMIZED)
XCONFIGURE_ARGS+=	--enable-sse2
X.endif
X
XCONFIGURE_ARGS+=	--prefix=${PREFIX}
X
XPLIST_FILES=	lib/liblbfgs-1.9.so.0.0 lib/liblbfgs.a lib//liblbfgs.la \
X		lib/liblbfgs.so.0.0 include/lbfgs.h
X
XPORTDOCS=	README INSTALL COPYING AUTHORS ChangeLog NEWS
X
X.include <bsd.port.mk>
0dc7b1aaeb0cfd8a0c95c931d63e907d
echo c - liblbfgs/files
mkdir -p liblbfgs/files > /dev/null 2>&1
echo x - liblbfgs/files/patch-lib_arithmetic_sse_double.h
sed 's/^X//' >liblbfgs/files/patch-lib_arithmetic_sse_double.h << 'c4453553f79079b0c52402840ee1acb7'
X--- lib/arithmetic_sse_double.h.orig	2010-06-08 08:17:38.000000000 +0800
X+++ lib/arithmetic_sse_double.h	2010-06-08 08:19:41.000000000 +0800
X@@ -26,7 +26,6 @@
X /* $Id: arithmetic_sse_double.h 65 2010-01-29 12:19:16Z naoaki $ */
X 
X #include <stdlib.h>
X-#include <malloc.h>
X #include <memory.h>
X 
X #if     1400 <= _MSC_VER
X@@ -37,6 +36,8 @@
X #include <emmintrin.h>
X #endif/*HAVE_EMMINTRIN_H*/
X 
X+#define memalign(A,B)  malloc(B)
X+
X inline static void* vecalloc(size_t size)
X {
X #ifdef	_MSC_VER
c4453553f79079b0c52402840ee1acb7
echo x - liblbfgs/distinfo
sed 's/^X//' >liblbfgs/distinfo << 'a6d74fa5f5dd96e0d248adcedf39bbb6'
XMD5 (liblbfgs-1.9.tar.gz) = 311eb920dd3ed777c3fae14e4ae7c9a5
XSHA256 (liblbfgs-1.9.tar.gz) = 76e2decbb4d05349f83ed81d30318b3af8597c007f447a0f68ff6f9eb8a8b47c
XSIZE (liblbfgs-1.9.tar.gz) = 318447
a6d74fa5f5dd96e0d248adcedf39bbb6
exit
--- liblbfgs-1.9.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Wed Jun 9 12:44:54 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147670 

From: Wesley Shields <wxs@FreeBSD.org>
To: Hung-Yi Chen <gaod@hychen.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/147670: [NEW PORT] math/liblbfgs: A library of
 Limited-memory Broyden-Fletcher-Goldfarb-Shanno
Date: Sun, 13 Jun 2010 09:42:30 -0400

 This port does not install properly in two cases. The first is 6-STABLE
 and the second is if NOPORTDOCS is defined.
 
 http://people.freebsd.org/~wxs/6-STABLE-liblbfgs-1.9.log
 http://people.freebsd.org/~wxs/9-NOPORTDOCS-liblbfgs-1.9.log
 
 Can you please address these two problems and send a new shar file?
 
 -- WXS
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Tue Jun 22 01:55:10 UTC 2010 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147670 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/147670: commit references a PR
Date: Tue, 22 Jun 2010 01:55:12 +0000 (UTC)

 wxs         2010-06-22 01:55:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math                 Makefile 
   Added files:
     math/liblbfgs        Makefile distinfo pkg-descr 
     math/liblbfgs/files  patch-lib_arithmetic_sse_double.h 
   Log:
   This library is a C port of the implementation of Limited-memory
   Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal.
   The original FORTRAN source code is available at:
   http://www.ece.northwestern.edu/~nocedal/lbfgs.html
   
   WWW:    http://www.chokkan.org/software/liblbfgs/
   
   PR:             ports/147670
   Submitted by:   Hung-Yi Chen <gaod@hychen.org>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.659     +1 -0      ports/math/Makefile
   1.1       +42 -0     ports/math/liblbfgs/Makefile (new)
   1.1       +3 -0      ports/math/liblbfgs/distinfo (new)
   1.1       +19 -0     ports/math/liblbfgs/files/patch-lib_arithmetic_sse_double.h (new)
   1.1       +6 -0      ports/math/liblbfgs/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
