With this patch:

$ diff -u /usr/local/lib/R.prev/etc/Makeconf /usr/local/lib/R/etc/Makeconf
--- /usr/local/lib/R.prev/etc/Makeconf  Wed Aug 17 09:50:09 2016
+++ /usr/local/lib/R/etc/Makeconf       Thu Aug 18 14:23:37 2016
@@ -33,11 +33,11 @@
 ECHO_N = -n
 ECHO_T = 
 ## NB, set FC before F77 as on Solaris make, setting FC sets F77
-FC = gfortran
+FC = egfortran
 FCFLAGS = -g -O2 $(LTO)
 ## additional libs needed when linking with $(FC), e.g. on Solaris
 FCLIBS = 
-F77 = gfortran
+F77 = egfortran
 F77_VISIBILITY = -fvisibility=hidden
 FFLAGS = -O2 $(LTO)
 FLIBS =  -R/usr/local/lib/R/lib -lgfortran -lm -lquadmath

Comments?

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/R/Makefile,v
retrieving revision 1.84
diff -u -p -r1.84 Makefile
--- Makefile    21 Jun 2016 18:21:52 -0000      1.84
+++ Makefile    18 Aug 2016 12:26:50 -0000
@@ -2,6 +2,7 @@
 
 COMMENT=       powerful math/statistics/graphics language
 DISTNAME=      R-3.3.1
+REVISION=      0
 
 SO_VERSION=    32.0
 .for _lib in R Rblas Rlapack
@@ -66,6 +67,7 @@ RUN_DEPENDS=  archivers/gtar \
                archivers/zip \
                devel/gmake \
                devel/xdg-utils \
+               lang/gcc/4.9,-f95>=4.9,<4.10 \
                print/texlive/base>=2014p1
 
 CONFIGURE_STYLE=gnu
@@ -85,6 +87,8 @@ CONFIGURE_ENV=        FFLAGS="${FFLAGS}" \
                MAKEINFO="${LOCALBASE}/bin/gtexi2any" \
                R_DYLIB_VERSION=${SO_VERSION} \
                TEXI2DVI="${LOCALBASE}/bin/gtexi2dvi" \
+               ac_cv_prog_F77=egfortran \
+               ac_cv_prog_ac_ct_FC=egfortran \
                rdocdir="${PREFIX}/share/doc/R"
 
 SEPARATE_BUILD=        Yes
Index: pkg/README
===================================================================
RCS file: /cvs/ports/math/R/pkg/README,v
retrieving revision 1.4
diff -u -p -r1.4 README
--- pkg/README  14 Dec 2015 16:49:02 -0000      1.4
+++ pkg/README  18 Aug 2016 12:26:50 -0000
@@ -22,8 +22,7 @@ Customizing package compilation
 Make variables to be used by R packages compiling code at installation time
 can be customized via ~/.R/Makevars
 
(https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Customizing-package-compilation).
-E.g., for using recent compilers (packages g++, g95, and gcc) add
+E.g., for using recent compilers (packages g++, gcc) add
 
 CC=egcc -std=gnu99
 CXX=eg++
-F77=egfortran

Reply via email to