From owner-svn-ports-head@freebsd.org Wed Aug 17 15:42:24 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED328BBC892; Wed, 17 Aug 2016 15:42:24 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C03A31C88; Wed, 17 Aug 2016 15:42:24 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7HFgOwT096179; Wed, 17 Aug 2016 15:42:24 GMT (envelope-from dbn@FreeBSD.org) Received: (from dbn@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7HFgOdA096178; Wed, 17 Aug 2016 15:42:24 GMT (envelope-from dbn@FreeBSD.org) Message-Id: <201608171542.u7HFgOdA096178@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbn set sender to dbn@FreeBSD.org using -f From: David Naylor Date: Wed, 17 Aug 2016 15:42:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420356 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 15:42:25 -0000 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