diff options
Diffstat (limited to 'math/fftw3/Makefile')
-rw-r--r-- | math/fftw3/Makefile | 4 |
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: |