From owner-svn-ports-head@freebsd.org Sat Jul 7 08:37:47 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 097C81027148; Sat, 7 Jul 2018 08:37:47 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACA818B020; Sat, 7 Jul 2018 08:37:46 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 87A0115062; Sat, 7 Jul 2018 08:37:46 +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 w678bk0J077001; Sat, 7 Jul 2018 08:37:46 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w678bkkC077000; Sat, 7 Jul 2018 08:37:46 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201807070837.w678bkkC077000@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 7 Jul 2018 08:37:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474063 - head/math/fflas-ffpack X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/math/fflas-ffpack X-SVN-Commit-Revision: 474063 X-SVN-Commit-Repository: ports 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.27 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: Sat, 07 Jul 2018 08:37:47 -0000 Author: amdmi3 Date: Sat Jul 7 08:37:45 2018 New Revision: 474063 URL: https://svnweb.freebsd.org/changeset/ports/474063 Log: - Switch to new test framework - Switch to options helpers - Cosmetic fixes Modified: head/math/fflas-ffpack/Makefile Modified: head/math/fflas-ffpack/Makefile ============================================================================== --- head/math/fflas-ffpack/Makefile Sat Jul 7 08:01:05 2018 (r474062) +++ head/math/fflas-ffpack/Makefile Sat Jul 7 08:37:45 2018 (r474063) @@ -18,6 +18,7 @@ USES= shebangfix GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gmp="${LOCALBASE}" SHEBANG_FILES= fflas-ffpack-config.in +TEST_TARGET= check # XXX: 1 of 2 tests fails OPTIONS_DEFINE= DOXYGEN OPTIMIZED_CFLAGS @@ -68,7 +69,7 @@ CONFIGURE_ARGS+= --disable-optimization .endif post-patch: - ${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/{s/-O2 //;s/-pipe//;}' \ + @${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/{s/-O2 //;s/-pipe//;}' \ -e '/DEBUG_CFLAGS=.*-DNDEBUG/s/$${DEBUG_CFLAGS} //' \ -e '/^WARN_CFLAGS="-Wall"/d' \ -e '/if test "x$$WARN" = "xyes"/s/$$/ WARN_CFLAGS="-Wall" ;/' \ @@ -79,7 +80,7 @@ post-patch: ${WRKSRC}/configure #Unfortunately, we must leave stdint.h --> cstdint unresolved when not using #lang/gcc4*, or switch to TR1 headers, due to our aging base system libstdc++ - ${REINPLACE_CMD} -E \ + @${REINPLACE_CMD} -E \ -e 's/(#include[[:blank:]]+<)(std)(arg|def|io|lib)(\.h>)/\1c\2\3>/' \ ${WRKSRC}/fflas-ffpack/field/nonzero-randiter.h \ ${WRKSRC}/fflas-ffpack/field/modular-randiter.h \ @@ -89,21 +90,12 @@ post-patch: ${WRKSRC}/utils/args-parser.h \ ${WRKSRC}/utils/debug.h \ ${WRKSRC}/utils/Matio.h -.if ${PORT_OPTIONS:MDOXYGEN} + +post-patch-DOXYGEN-on: @${REINPLACE_CMD} -e 's/sed -i/& ""/' ${WRKSRC}/doc/Makefile.in -.endif -.if ${PORT_OPTIONS:MDOXYGEN} -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR}/fflas-ffpack-dev-html - ${TOUCH} ${STAGEDIR}${DOCSDIR}/fflas-ffpack-dev-html/.keep-me -.endif - -.if defined(MAINTAINER_MODE) -check regression-test test: build - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ - ${MAKE_ARGS} check - -.endif +post-install-DOXYGEN-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR}/fflas-ffpack-dev-html + @${TOUCH} ${STAGEDIR}${DOCSDIR}/fflas-ffpack-dev-html/.keep-me .include