From ahze@gentoo.ahze.net  Fri Jul 23 15:48:52 2004
Return-Path: <ahze@gentoo.ahze.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 79E3116A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Jul 2004 15:48:52 +0000 (GMT)
Received: from imf21aec.mail.bellsouth.net (imf21aec.mail.bellsouth.net [205.152.59.69])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 01DA143D39
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Jul 2004 15:48:52 +0000 (GMT)
	(envelope-from ahze@gentoo.ahze.net)
Received: from gentoo.ahze.net ([68.209.163.3])
          by imf21aec.mail.bellsouth.net
          (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP
          id <20040723154847.ETCJ1792.imf21aec.mail.bellsouth.net@gentoo.ahze.net>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 23 Jul 2004 11:48:47 -0400
Received: (from root@localhost)
	by gentoo.ahze.net (8.12.11/8.12.11/Submit) id i6NFmlkE000238;
	Fri, 23 Jul 2004 11:48:47 -0400 (EDT)
	(envelope-from ahze)
Message-Id: <200407231548.i6NFmlkE000238@gentoo.ahze.net>
Date: Fri, 23 Jul 2004 11:48:47 -0400 (EDT)
From: Michael Johnson <ahze@ahze.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] math/fftw3: [Only show i386 options to i386]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69488
>Category:       ports
>Synopsis:       [MAINTAINER] math/fftw3: [Only show i386 options to i386]
>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:   Fri Jul 23 15:50:21 GMT 2004
>Closed-Date:    Sat Jul 24 01:53:20 GMT 2004
>Last-Modified:  Sat Jul 24 01:53:20 GMT 2004
>Originator:     Michael Johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #57: Fri Jul 16 00:36:31 EDT 2004
>Description:
- only show i386 options to i386


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

--- fftw3-3.0.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /usr/opt/cvs/freebsd-src/ports/math/fftw3/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	9 Jul 2004 17:42:34 -0000	1.23
+++ Makefile	23 Jul 2004 15:40:23 -0000
@@ -19,7 +19,7 @@
 COMMENT=	Fast C routines to compute the Discrete Fourier Transform
 
 USE_GMAKE=	yes
-USE_INC_LIBTOOL_VER=13
+USE_INC_LIBTOOL_VER=15
 USE_GNOME=	gnomehack gnomeprefix gnometarget lthack pkgconfig
 USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
@@ -36,12 +36,16 @@
 FFTW3F_INSTALL_TARGET=install-pkgconfigDATA install-libLTLIBRARIES install-exec
 
 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 ${ARCH} == "i386"
+OPTIONS+=	OPTIMIZED_ATHLON "Enable AMD K7(Athlon) optimizations" off \
+		SSE "Enable SSE optimized routines" off
+
+.endif
+
 .if defined(WITH_OPTIMIZED_CFLAGS) && !defined(WITH_OPTIMIZED_ATHLON)
 CONFIGURE_ENV+=	CFLAGS="${CFLAGS:N-O:N-O*} -O2 -ffast-math -fomit-frame-pointer"
 .endif
--- fftw3-3.0.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sat Jul 24 01:53:13 GMT 2004 
State-Changed-Why:  
committed, thanks 

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