aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/R/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index f031b88cd225..fec970a7d790 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -8,6 +8,7 @@
PORTNAME= R
PORTVERSION= 2.4.0
+PORTREVISION= 1
CATEGORIES= math lang
MASTER_SITES= http://cran.r-project.org/src/base/R-2/ \
ftp://cran.r-project.org/pub/R/src/base/R-2/ \
@@ -54,12 +55,17 @@ USE_GETTEXT= yes
USE_ICONV= yes
USE_PERL5= yes
-CONFIGURE_ENV= INSTALL_DATA="${INSTALL} ${COPY} ${_SHROWNGRP} -m 644"
+CONFIGURE_ENV= INSTALL_DATA="${INSTALL} ${COPY} ${_SHROWNGRP} -m 644" F77="${F77}" FC="${FC}"
CONFIGURE_ARGS= --enable-R-shlib --with-system-bzlib --with-system-zlib \
rdocdir=${DOCSDIR}
.include <bsd.port.pre.mk>
+WANT_FORTRAN= yes
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+
test check: build
@(cd ${WRKSRC}; ${MAKE} check)
check-all: build