ports/69488: [MAINTAINER] math/fftw3: [Only show i386 options to i386]

Michael Johnson ahze at ahze.net
Fri Jul 23 15:50:24 UTC 2004


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 23 15:50:21 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list