diff --git a/math/sfft/Makefile b/math/sfft/Makefile index 1b72cad56625..8de71ba650a2 100644 --- a/math/sfft/Makefile +++ b/math/sfft/Makefile @@ -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 '\||{x; \ - s|^.*$$|#include "missing_complex.h"|; H; x;}' \ - ${WRKSRC}/src/fft.h -.endif @${REINPLACE_CMD} -E -e '// \ {s// "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