aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2012-02-27 05:50:44 +0800
committertota <tota@FreeBSD.org>2012-02-27 05:50:44 +0800
commit0a6a1d9582da412b67271c27fe220532bfbc80a8 (patch)
tree61dd9978a597082cb3a28bea8a31b4e2308fb32b /Mk
parent4ef8b0e50b754e3fab0755ac048089e6db4b33e1 (diff)
downloadfreebsd-ports-graphics-0a6a1d9582da412b67271c27fe220532bfbc80a8.tar.gz
freebsd-ports-graphics-0a6a1d9582da412b67271c27fe220532bfbc80a8.tar.zst
freebsd-ports-graphics-0a6a1d9582da412b67271c27fe220532bfbc80a8.zip
- Set MAKE_ENV variable before "R_INS PORTNAME" in bsd.cran.mk
to be able to set options CFLAGS, CPPFLAGS, LDFLAGS, etc. PR: ports/165460 Submitted by: tota (myself) Approved by: wen (maintainer)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.cran.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.cran.mk b/Mk/bsd.cran.mk
index 05dd16ac06d..fc450672656 100644
--- a/Mk/bsd.cran.mk
+++ b/Mk/bsd.cran.mk
@@ -39,7 +39,7 @@ R_INS= ${R_COMMAND} CMD INSTALL
do-install:
.if defined(USE_R_MOD)
- @cd ${WRKDIR} && ${R_INS} ${PORTNAME}
+ @cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} ${R_INS} ${PORTNAME}
.endif
.if defined(USE_R_MOD) && defined(R_MOD_AUTOPLIST)