- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
- Switch to new test framework - Switch to options helpers
This commit is contained in:
parent
00c7c1124f
commit
7b5e83a50f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430930
@ -48,10 +48,6 @@ appropriately
|
||||
.endif
|
||||
|
||||
LIBM= -lm
|
||||
.if ${OSVERSION} < 1000034
|
||||
LIB_DEPENDS+= libmissing.so:math/libmissing
|
||||
LIBM+= -lmissing
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS} || make(makesum)
|
||||
DISTFILES+= sfft-doc.pdf
|
||||
@ -83,11 +79,6 @@ post-extract:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/string\.h/cstring/' \
|
||||
${WRKSRC}/src/utils.cc
|
||||
.if ${OSVERSION} < 1000034
|
||||
@${REINPLACE_CMD} -e '\|<complex.h>|{x; \
|
||||
s|^.*$$|#include "missing_complex.h"|; H; x;}' \
|
||||
${WRKSRC}/src/fft.h
|
||||
.endif
|
||||
@${REINPLACE_CMD} -E -e '/<complex\.h>/ \
|
||||
{s/<complex\.h>/ "sfftcomplex.h"/; x ; \
|
||||
s|^.*$$|#endif|; G; x; \
|
||||
@ -102,7 +93,7 @@ post-patch:
|
||||
|
||||
CORELIMIT?= /usr/bin/limits -Sc 0
|
||||
|
||||
check regression-test test: build
|
||||
do-test:
|
||||
@cd ${BUILD_WRKSRC}; \
|
||||
${CXX} ${CXXFLAGS} -o sfft-verification verification.cc \
|
||||
${LDFLAGS} libsfft.a -lfftw3 ${LIBM} ; \
|
||||
@ -115,9 +106,9 @@ check regression-test test: build
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${HDIR}
|
||||
@cd ${BUILD_WRKSRC}; ${INSTALL_DATA} ${HEADERS} ${STAGEDIR}${PREFIX}/${HDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user