diff options
author | jrm <jrm@FreeBSD.org> | 2017-08-03 05:27:43 +0800 |
---|---|---|
committer | jrm <jrm@FreeBSD.org> | 2017-08-03 05:27:43 +0800 |
commit | c6ddb65cd47126153dbf30ff180e73dd57eff664 (patch) | |
tree | 912d3ff9580095ca3753b6207d950b4fe2ce815c /math | |
parent | 0d3182f5510bfbe3a295e06e23b82c6d0c7153b1 (diff) | |
download | freebsd-ports-gnome-c6ddb65cd47126153dbf30ff180e73dd57eff664.tar.gz freebsd-ports-gnome-c6ddb65cd47126153dbf30ff180e73dd57eff664.tar.zst freebsd-ports-gnome-c6ddb65cd47126153dbf30ff180e73dd57eff664.zip |
math/R: Work around bug 221127.
PR: 221127
Reported by: rs.os@t-online.de
Diffstat (limited to 'math')
-rw-r--r-- | math/R/Makefile | 3 | ||||
-rw-r--r-- | math/R/pkg-message | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/math/R/Makefile b/math/R/Makefile index e7bc939584b7..2769bcb31a26 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -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 diff --git a/math/R/pkg-message b/math/R/pkg-message new file mode 100644 index 000000000000..13a32a033190 --- /dev/null +++ b/math/R/pkg-message @@ -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 +======================================================================== |