svn commit: r447178 - head/math/R

Joseph Mingrone jrm at FreeBSD.org
Wed Aug 2 21:27:44 UTC 2017


Author: jrm
Date: Wed Aug  2 21:27:43 2017
New Revision: 447178
URL: https://svnweb.freebsd.org/changeset/ports/447178

Log:
  math/R: Work around bug 221127.
  
  PR:		221127
  Reported by:	rs.os at t-online.de

Added:
  head/math/R/pkg-message   (contents, props changed)
Modified:
  head/math/R/Makefile

Modified: head/math/R/Makefile
==============================================================================
--- head/math/R/Makefile	Wed Aug  2 20:47:24 2017	(r447177)
+++ head/math/R/Makefile	Wed Aug  2 21:27:43 2017	(r447178)
@@ -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 -lexe
 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

Added: head/math/R/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/R/pkg-message	Wed Aug  2 21:27:43 2017	(r447178)
@@ -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
+========================================================================


More information about the svn-ports-all mailing list