Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 01:40:38 GMT
From:      michael johnson <ahze@rgv.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/68407: [MAINTAINER] math/fftw3 -- fix build on 4.x with sse
Message-ID:  <200406270140.i5R1echO058153@www.freebsd.org>
Resent-Message-ID: <200406270150.i5R1o6tD052855@freefall.freebsd.org>

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

>Number:         68407
>Category:       ports
>Synopsis:       [MAINTAINER] math/fftw3 -- fix build on 4.x with sse
>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:   Sun Jun 27 01:50:06 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        
>Organization:
>Environment:
>Description:
- fix build on 4.x when WITH_SSE is defined by using gcc3.3
- update MASTER_SITES
>How-To-Repeat:
      
>Fix:
diff -u -r1.20 Makefile
--- Makefile	31 May 2004 10:13:40 -0000	1.20
+++ Makefile	26 Jun 2004 21:55:35 -0000
@@ -7,10 +7,10 @@
 
 PORTNAME=	fftw3
 PORTVERSION=	3.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math
 MASTER_SITES=	ftp://ftp.fftw.org/pub/fftw/ 		\
-		ftp://ftp.fftw.org/pub/fftw/old/ 	\
+		http://www.fftw.org/ \
 		ftp://theory.lcs.mit.edu/pub/fftw/	\
 		ftp://pm.cse.rmit.edu.au/pub/dsp/fftw/
 DISTNAME=	fftw-${PORTVERSION}
@@ -23,7 +23,6 @@
 USE_GNOME=	gnomehack gnomeprefix gnometarget lthack pkgconfig
 USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
-
 MAN1=	fftw-wisdom-to-conf.1 fftw-wisdom.1 fftwf-wisdom.1
 INFO=	fftw3
 
@@ -54,6 +53,9 @@
 .endif
 
 .if defined(WITH_SSE)
+.if ${OSVERSION} < 500000
+USE_GCC=	3.3
+.endif
 CONFIGURE_ARGS+=--enable-sse2
 CONFIGURE_ARGS_FFTW3F+=--enable-sse
 CONFIGURE_ENV+=	CFLAGS="${CFLAGS:N-O:N-O*} -O2"
>Release-Note:
>Audit-Trail:
>Unformatted:



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