math/R: Work around bug 221127.

PR:		221127
Reported by:	rs.os@t-online.de
This commit is contained in:
Joseph Mingrone 2017-08-02 21:27:43 +00:00
parent 51d1eecd82
commit 24cc76c584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447178
2 changed files with 20 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= R
PORTVERSION= 3.4.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}
@ -84,6 +84,7 @@ FLANG_LDFLAGS= -L${LOCALBASE}/flang/lib -lflang -lexecinfo
FLANG_CONFIGURE_ENV= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}"
FLANG_MAKE_ENV= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}"
GFORTRAN_USES= fortran
GFORTRAN_RUN_DEPENDS= wget:ftp/wget
GHOSTSCRIPT_IMPLIES= X11
GHOSTSCRIPT_USES= ghostscript
ICU_CONFIGURE_WITH= ICU

18
math/R/pkg-message Normal file
View file

@ -0,0 +1,18 @@
========================================================================
On 11.1 and later, there is a problem downloading R packages when
gfortran is chosen as the fortran compiler.
Use either of these workarounds until a permanent solution is found.
1. If you are on an amd64 system, you can use flang as the fortran
compiler.
2. If you choose gfortran as the fortran compiler, you can add
options(download.file.method="wget")
to ~/.Rprofile followed by a newline.
Details: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221127
========================================================================