mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- no longer depend on math/ldouble for math/fftw3-long on >= 504000 since
it now has some long double math functions.
This commit is contained in:
parent
e209d3e676
commit
e820a38027
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135529
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user