summaryrefslogtreecommitdiff
path: root/math/fftw3
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2012-06-08 22:38:32 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2012-06-08 22:38:32 +0000
commitdf54417c4050fd63e04be10cc4f569cfb29aacda (patch)
treedf54d5d40f173226d1b60a0491d6935d053e98f3 /math/fftw3
parentfix the build after the giflib update (diff)
exit earlier, and with a more helpful error message, when attempting to
build the OpenMP libraries with clang [1]; shorten a long line PR: 168804 [1]
Notes
Notes: svn path=/head/; revision=298787
Diffstat (limited to 'math/fftw3')
-rw-r--r--math/fftw3/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 66992e12fb74..9f2a55838a47 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -34,8 +34,8 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
MAN1= fftw-wisdom-to-conf.1 fftw-wisdom.1
INFO= fftw3
.else
-#For non-default flavors, only build and install the flavor-dependent components,
-#so that these flavors may coexist with the default flavor
+#For non-default flavors, build and install the flavor-dependent components
+#only, so that these flavors may coexist with the default flavor
MAN1= fftw${FFTW3_SUFX}-wisdom.1
INSTALL_TARGET= install-pkgconfigDATA install-libLTLIBRARIES install-exec
.endif
@@ -50,6 +50,10 @@ OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MOPENMP}
+.if !empty(CC:T:M*clang*)
+IGNORE = : clang does not support OpenMP. Disable the OPENMP option or\
+use another compiler
+.endif
CONFIGURE_ARGS+= --enable-openmp
PLIST_SUB+= OPENMP=""
.else