diff options
author | David Naylor <dbn@FreeBSD.org> | 2016-08-26 20:30:18 +0000 |
---|---|---|
committer | David Naylor <dbn@FreeBSD.org> | 2016-08-26 20:30:18 +0000 |
commit | f106023e89824aad322225908f15ed52b3f873ef (patch) | |
tree | 183adcbcd5fc803fdfe35e35788d5f4b666c7b0e /Mk/Uses/cran.mk | |
parent | - Update to version 0.7.1 (diff) |
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]
Notes
Notes:
svn path=/head/; revision=420948
Diffstat (limited to 'Mk/Uses/cran.mk')
-rw-r--r-- | Mk/Uses/cran.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/Uses/cran.mk b/Mk/Uses/cran.mk index fb2cd56e2f98..f8a44712e834 100644 --- a/Mk/Uses/cran.mk +++ b/Mk/Uses/cran.mk @@ -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 --no-build-vignettes .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} |