summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-05-18 00:41:58 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-05-18 00:41:58 +0000
commite820a380274066c9ffe86e480a21429643b2fe6d (patch)
treef15192f379c85dc5f179ad4accc3199305f8b4d1 /math
parent- Fix build on -CURRENT [1] (diff)
- no longer depend on math/ldouble for math/fftw3-long on >= 504000 since
it now has some long double math functions.
Notes
Notes: svn path=/head/; revision=135529
Diffstat (limited to 'math')
-rw-r--r--math/fftw3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 64d250181b49..7862b7cbdfe1 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -83,7 +83,9 @@ FFTW3_PKGNAMESUFFIX= -float
CONFIGURE_ARGS+=--enable-float
.else
.if ${FFTW3_FLAVOR}=="long"
+.if ${OSVERSION} < 504000
LIB_DEPENDS+= ml.0:${PORTSDIR}/math/ldouble
+.endif
FFTW3_SUFX= l
FFTW3_PKGNAMESUFFIX= -long
CONFIGURE_ARGS+=--enable-long-double
@@ -116,10 +118,12 @@ post-patch:
${WRKSRC}/tools/Makefile.in
.if ${FFTW3_FLAVOR}=="long"
@${REINPLACE_CMD} -e 's|cosl sinl tanl||' ${WRKSRC}/configure
+.if ${OSVERSION} < 504000
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
's|@LIBS@|-lml @LIBS@|'
.endif
.endif
+.endif
.if defined(FFTW3_FLAVOR) && ${FFTW3_FLAVOR}!="default"
post-install: