aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2011-05-08 13:06:25 +0800
committerbf <bf@FreeBSD.org>2011-05-08 13:06:25 +0800
commit6f64f06e61a1e29c6268981874b9bc3434753554 (patch)
tree2e830cac694def4c96f60856587c90b55330132b /Mk
parent3042d6526e7fed02c8a21c6cdb940cd7518c2195 (diff)
downloadfreebsd-ports-gnome-6f64f06e61a1e29c6268981874b9bc3434753554.tar.gz
freebsd-ports-gnome-6f64f06e61a1e29c6268981874b9bc3434753554.tar.zst
freebsd-ports-gnome-6f64f06e61a1e29c6268981874b9bc3434753554.zip
Fix the default WRKSRC for CRAN ports
Approved by: wen
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.cran.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/bsd.cran.mk b/Mk/bsd.cran.mk
index 8aee52c74f5b..0c0f33262687 100644
--- a/Mk/bsd.cran.mk
+++ b/Mk/bsd.cran.mk
@@ -29,6 +29,7 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
R_MOD_DIR?= lib/R/library/${PORTNAME}
PLIST_SUB+= R_MOD_DIR=${R_MOD_DIR}
+WRKSRC?= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
R_COMMAND= ${LOCALBASE}/bin/R