Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2009 13:38:32 -0400
From:      Diane Bruce <db@db.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ahze@FreeBSD.org
Subject:   ports/134115: [PATCH] math/fftw3: [SUMMARIZE CHANGES]
Message-ID:  <E1LzaDQ-0002IZ-9T@night.db.net>
Resent-Message-ID: <200904301810.n3UIA2Rw005313@freefall.freebsd.org>

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

>Number:         134115
>Category:       ports
>Synopsis:       [PATCH] math/fftw3: [SUMMARIZE CHANGES]
>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:   Thu Apr 30 18:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Diane Bruce
>Release:        FreeBSD 7.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD night.db.net 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #25: Sat Apr 25 23:07:13 EDT 2009
>Description:
[DESCRIBE CHANGES]

fftw3 needs USE_FORTRAN in order to generate fortran shim.


with USE_FORTRAN
# nm -na  work/fftw-3.1.3/.libs/libfftw3f.a |grep sfftw_destroy_plan
00000e9c T sfftw_destroy_plan_

without USE_FORTRAN
# nm -na  work/fftw-3.1.3/.libs/libfftw3f.a |grep sfftw_destroy_plan
#

Note that math/fftw has USE_FORTRAN defined for fortran shim reasons.

Version compiled without USE_FORTRAN
-rw-r--r--  1 root  wheel  261650 Apr 30 13:29 work/fftw-2.1.5/fftw/.libs/libfftw.a

# ls -lta /usr/local/lib/libfftw.a
-rw-r--r--  1 root  wheel  263402 Jan  9 18:37 /usr/local/lib/libfftw.a

Port maintainer (ahze@FreeBSD.org) is cc'd.

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

--- fftw3-3.1.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/fftw3/Makefile /usr/home/db/ports/fftw3/Makefile
--- /usr/ports/math/fftw3/Makefile	2009-04-30 12:30:07.000000000 -0400
+++ /usr/home/db/ports/fftw3/Makefile	2009-04-30 13:08:02.000000000 -0400
@@ -7,7 +7,7 @@

 PORTNAME=	fftw3
 PORTVERSION=	3.1.3
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	math
 MASTER_SITES=	ftp://ftp.fftw.org/pub/fftw/ \
 		ftp://ftp.fftw.org/pub/fftw/old/
@@ -22,6 +22,7 @@
 FFTW3_SUFX=

 GNU_CONFIGURE=	yes
+USE_FORTRAN=	yes
 USE_GNOME=	gnomehack gnometarget pkgconfig
 USE_PERL5_BUILD=yes
 USE_LDCONFIG=	yes
--- fftw3-3.1.3_1.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1LzaDQ-0002IZ-9T>