ports/186998: [patch] math/fftw3 port fails during configure on i386 with clang
Don Lewis
truckman at FreeBSD.org
Wed Feb 26 05:36:49 UTC 2014
This is probably a better patch:
Index: Makefile
===================================================================
--- Makefile (revision 345674)
+++ Makefile (working copy)
@@ -19,7 +19,7 @@
FFTW3_SUFX=
GNU_CONFIGURE= yes
-USES= pathfix perl5 pkgconfig
+USES= pathfix perl5 pkgconfig compiler:features
USE_PERL5= build
USE_LDCONFIG= yes
@@ -62,7 +62,9 @@
CFLAGS+= -fomit-frame-pointer
. endif
. if ${ARCH} == "i386"
+. if ${COMPILER_TYPE} == "gcc"
CFLAGS+= -malign-double
+. endif
. endif
WITHOUT_NO_STRICT_ALIASING= yes
.endif # end OPTIMIZED_CFLAGS
More information about the freebsd-ports-bugs
mailing list