Date: Fri, 26 Aug 2016 20:30:18 +0000 (UTC) From: David Naylor <dbn@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420948 - head/Mk/Uses Message-ID: <201608262030.u7QKUIQt081812@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbn Date: Fri Aug 26 20:30:18 2016 New Revision: 420948 URL: https://svnweb.freebsd.org/changeset/ports/420948 Log: Mk/Uses/cran.mk: fix WARNING in cran tests. R warns if it detects .o or .so objects in the source directory, when running tests. Remove the offending files before running the test. Take maintainership [1] PR: 212134 Approved by: wen [1] Modified: head/Mk/Uses/cran.mk Modified: head/Mk/Uses/cran.mk ============================================================================== --- head/Mk/Uses/cran.mk Fri Aug 26 20:25:52 2016 (r420947) +++ head/Mk/Uses/cran.mk Fri Aug 26 20:30:18 2016 (r420948) @@ -9,7 +9,7 @@ # auto-plist The pkg-plist is to be automatically generated # compiles The port has code that needs to be compiled # -# MAINTAINER= wen@FreeBSD.org +# MAINTAINER= dbn@FreeBSD.org .if !defined(_INCLUDE_USES_CRAN_MK) _INCLUDE_USES_CRAN_MK= yes @@ -50,6 +50,7 @@ R_POSTCMD_CHECK_OPTIONS+= --no-manual -- .endif do-test: + @${FIND} ${WRKSRC} \( -name '*.o' -o -name '*.so' \) -delete @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \ ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \ ${R_POSTCMD_CHECK_OPTIONS} ${PORTNAME}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608262030.u7QKUIQt081812>