From root@ahze.ahze.net  Wed May 26 20:48:50 2004
Return-Path: <root@ahze.ahze.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1D44716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 May 2004 20:48:50 -0700 (PDT)
Received: from ahze.ahze.net (adsl-068-209-163-003.sip.clt.bellsouth.net [68.209.163.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AA39A43D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 May 2004 20:48:49 -0700 (PDT)
	(envelope-from root@ahze.ahze.net)
Received: by ahze.ahze.net (Postfix, from userid 0)
	id 33CAC694C; Wed, 26 May 2004 23:48:00 -0400 (EDT)
Message-Id: <20040527034800.33CAC694C@ahze.ahze.net>
Date: Wed, 26 May 2004 23:48:00 -0400 (EDT)
From: michael johnson <ahze@ahze.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] math/fftw3: [add WITH_SSE knob]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         67244
>Category:       ports
>Synopsis:       [MAINTAINER] math/fftw3: [add WITH_SSE knob]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 26 20:50:25 PDT 2004
>Closed-Date:    Wed May 26 22:35:10 PDT 2004
>Last-Modified:  Wed May 26 22:35:10 PDT 2004
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #45: Mon May  3 05:09:04 EDT
>Description:
- Add WITH_SSE knob 
- misc CFLAGS cleanup

WITH_SSE was requested by mmihai@delajii.net

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

--- fftw3-3.0.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/math/fftw3/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	18 Apr 2004 10:48:22 -0000	1.18
+++ Makefile	27 May 2004 03:44:38 -0000
@@ -31,21 +31,27 @@
 
 OPTIONS=	OPTIMIZED_CFLAGS "Enable optimized CFLAGS" off \
 		OPTIMIZED_ATHLON "Enable AMD K7(Athlon) optimizations" off \
+		SSE "Enable SSE optimized routines" off \
 		SMP_THREADS "Enable FFTW SMP threads library" off
 
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_OPTIMIZED_CFLAGS) && !defined(WITH_OPTIMIZED_ATHLON)
-CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -O2 -ffast-math -fomit-frame-pointer"
+CONFIGURE_ENV+=	CFLAGS="${CFLAGS:N-O[0-9]:N-O} -O2 -ffast-math -fomit-frame-pointer"
 .endif
 
 .if defined(WITH_OPTIMIZED_ATHLON)
 CONFIGURE_ARGS+=--enable-k7
-CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -O3 -fomit-frame-pointer -fno-schedule-insns \
+CONFIGURE_ENV+=	CFLAGS="${CFLAGS:N-O[0-9]:N-O} -O3 -fomit-frame-pointer -fno-schedule-insns \
 		-malign-double -fstrict-aliasing -mpreferred-stack-boundary=4 \
 		-ffast-math"
 .endif
 
+.if defined(WITH_SSE)
+CONFIGURE_ENV+=	CFLAGS="${CFLAGS:N-O[0-9]:N-O} -O2 "
+CONFIGURE_ARGS+=--enable-sse --with-our-malloc16 --enable-single
+.endif
+
 .if defined(WITH_SMP_THREADS)
 CONFIGURE_ARGS+=--enable-threads
 .endif
--- fftw3-3.0.1.patch ends here ---

>Release-Note:
>Audit-Trail:

From: Michael Johnson <ahze@ahze.net>
To: freebsd-ports-bugs@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/67244: [MAINTAINER] math/fftw3: [add WITH_SSE knob]
Date: Thu, 27 May 2004 01:19:45 -0400

 --Apple-Mail-2--46197312
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset=US-ASCII; format=flowed
 
 please close this, this doesn't work right.
 I'll submit another patch when I figure out how to fix it.
 
 
 On May 26, 2004, at 11:50 PM, FreeBSD-gnats-submit@FreeBSD.org wrote:
 
 > Thank you very much for your problem report.
 > It has the internal identification `ports/67244'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs.
 >
 > You can access the state of your problem report at any time
 > via this link:
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=67244
 >
 >> Category:       ports
 >> Responsible:    freebsd-ports-bugs
 >> Synopsis:       [MAINTAINER] math/fftw3: [add WITH_SSE knob]
 >> Arrival-Date:   Wed May 26 20:50:25 PDT 2004
 
 --Apple-Mail-2--46197312
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (Darwin)
 
 iD8DBQFAtXpwtVelVDBHE5URAm7cAJ9mUjwVcs6sA5FSzgKOWZT8G5a3MACfSMub
 fNL4w9pNbt/p8Uv5VQk+d+A=
 =FriZ
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-2--46197312--
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed May 26 22:34:38 PDT 2004 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67244 
>Unformatted:
