Date: Mon, 9 Jan 2017 09:52:13 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430930 - head/math/sfft Message-ID: <201701090952.v099qDL9002697@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Jan 9 09:52:13 2017 New Revision: 430930 URL: https://svnweb.freebsd.org/changeset/ports/430930 Log: - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL - Switch to new test framework - Switch to options helpers Modified: head/math/sfft/Makefile Modified: head/math/sfft/Makefile ============================================================================== --- head/math/sfft/Makefile Mon Jan 9 09:48:54 2017 (r430929) +++ head/math/sfft/Makefile Mon Jan 9 09:52:13 2017 (r430930) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701090952.v099qDL9002697>