svn commit: r420356 - head/Mk/Uses
David Naylor
dbn at FreeBSD.org
Wed Aug 17 15:42:25 UTC 2016
Author: dbn
Date: Wed Aug 17 15:42:23 2016
New Revision: 420356
URL: https://svnweb.freebsd.org/changeset/ports/420356
Log:
Mk/Uses/cran.mk: fix 'compiles' argument.
Due to the change in r419666 USE_GCC is not conditionally set, however it
was bringing in the dependencies for fortran (silently). Explicitly bring
in the dependencies for fortran.
Also, add a target to strip the compiled shared library.
PR: 211891
Reviewed by: mat
Approved by: wen
Modified:
head/Mk/Uses/cran.mk
Modified: head/Mk/Uses/cran.mk
==============================================================================
--- head/Mk/Uses/cran.mk Wed Aug 17 15:38:46 2016 (r420355)
+++ head/Mk/Uses/cran.mk Wed Aug 17 15:42:23 2016 (r420356)
@@ -78,7 +78,11 @@ cran-auto-plist:
.endif
.if ${cran_ARGS:Mcompiles}
+_USES_install+= 755:cran-strip
+cran-strip:
+ ${FIND} ${STAGEDIR}${PREFIX}/${R_MOD_DIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include "${PORTSDIR}/math/R/compiler.mk"
+.include "${USESDIR}/fortran.mk"
.endif
.endif #_INCLUDE_USES_CRAN_MK
More information about the svn-ports-head
mailing list