Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 15:42:24 +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: r420356 - head/Mk/Uses
Message-ID:  <201608171542.u7HFgOdA096178@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608171542.u7HFgOdA096178>