diff options
author | ahze <ahze@FreeBSD.org> | 2005-05-18 00:41:58 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-05-18 00:41:58 +0000 |
commit | 00618117ebacf4eeab34ec046701001f1fc8fda2 (patch) | |
tree | a058b8b0e4920cd7839c5df2735413d03ea944ba /math | |
parent | 9b2be92fa3b030c7c6c4584553ca018cf6965950 (diff) | |
download | FreeBSD-ports-00618117ebacf4eeab34ec046701001f1fc8fda2.zip FreeBSD-ports-00618117ebacf4eeab34ec046701001f1fc8fda2.tar.gz |
- no longer depend on math/ldouble for math/fftw3-long on >= 504000 since
it now has some long double math functions.
Diffstat (limited to 'math')
-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 64d2501..7862b7c 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: |