svn commit: r468675 - head/math/taucs

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Apr 30 08:33:56 UTC 2018


Author: amdmi3
Date: Mon Apr 30 08:33:55 2018
New Revision: 468675
URL: https://svnweb.freebsd.org/changeset/ports/468675

Log:
  - Switch to options helpers
  - Switch to new test framework

Modified:
  head/math/taucs/Makefile

Modified: head/math/taucs/Makefile
==============================================================================
--- head/math/taucs/Makefile	Mon Apr 30 08:08:49 2018	(r468674)
+++ head/math/taucs/Makefile	Mon Apr 30 08:33:55 2018	(r468675)
@@ -87,12 +87,12 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/src/*.h ${STAGEDIR}${PREFIX}/include
 	(cd ${WRKSRC}_SHARED/bin/FreeBSD && \
 		${INSTALL_PROGRAM} ${BINS} ${STAGEDIR}${PREFIX}/bin)
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
-.endif
 
-check test: build
+do-test: # XXX: building tests fail 
 .for t in ${TESTS}
 	@${PRINTF} "\n%s\n" "Building test_${t}"
 	@cd ${WRKSRC}_SHARED ; ${FC} ${FFLAGS} -Llib/FreeBSD -L./ \
@@ -105,11 +105,5 @@ check test: build
 	${SETENV} LD_LIBRARY_PATH="lib/FreeBSD:/lib:/usr/lib:${LOCALBASE}/lib" \
 	bin/FreeBSD/test_${t}
 .endfor
-
-#be conservative, and expose a regression test target for amd64 builds only, because
-#some of the tests run amok during i386 tinderbox builds on amd64 hosts
-.if ${ARCH} == "amd64"
-regression-test: check
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list