From owner-svn-ports-head@freebsd.org Mon Jan 9 09:52:14 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AB9FCA59A6; Mon, 9 Jan 2017 09:52:14 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C9C113C7; Mon, 9 Jan 2017 09:52:14 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v099qDKU002698; Mon, 9 Jan 2017 09:52:13 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v099qDL9002697; Mon, 9 Jan 2017 09:52:13 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201701090952.v099qDL9002697@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 9 Jan 2017 09:52:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430930 - head/math/sfft X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 09:52:14 -0000 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 '\||{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