svn commit: r452962 - head/math/libRmath
Joseph Mingrone
jrm at FreeBSD.org
Fri Oct 27 00:52:42 UTC 2017
Author: jrm
Date: Fri Oct 27 00:52:41 2017
New Revision: 452962
URL: https://svnweb.freebsd.org/changeset/ports/452962
Log:
math/libRmath: Update to version 3.4.2 and add an option on amd64 to choose
the fortran compiler.
Modified:
head/math/libRmath/Makefile
head/math/libRmath/distinfo
Modified: head/math/libRmath/Makefile
==============================================================================
--- head/math/libRmath/Makefile Thu Oct 26 22:56:58 2017 (r452961)
+++ head/math/libRmath/Makefile Fri Oct 27 00:52:41 2017 (r452962)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libRmath
-PORTVERSION= 3.4.1
-PORTREVISION= 1
+PORTVERSION= 3.4.2
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}
DISTNAME= R-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
@@ -13,6 +12,8 @@ COMMENT= Standalone math library from R
LICENSE= GPLv2
+ONLY_FOR_ARCHS= aarch64 amd64 i386
+
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre.so:devel/pcre
@@ -23,11 +24,28 @@ CONFIGURE_ARGS= --disable-nls --with-ICU=no --with-cai
--without-libintl-prefix
CONFIGURE_ENV+= ac_cv_header_iconv_h=no
GNU_CONFIGURE= yes
-RMATH_SOVERSION=3
-USES= fortran localbase
+RMATH_SOVERSION=${PORTVERSION:R}
+USES= localbase
USE_LDCONFIG= yes
PLIST_SUB= RMATH_SOVERSION="${RMATH_SOVERSION}"
+
+OPTIONS_SINGLE= FORTRAN
+OPTIONS_SINGLE_FORTRAN= ${OPTIONS_SINGLE_FORTRAN_${MACHINE_ARCH}}
+OPTIONS_SINGLE_FORTRAN_amd64= GFORTRAN FLANG
+OPTIONS_DEFAULT_amd64= FLANG
+
+FLANG_DESC= Build Fortran source with flang
+GFORTRAN_DESC= Build Fortran source with gfortran
+
+GFORTRAN_USES= fortran:gcc
+FLANG_USES= fortran:flang
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64
+USES+= fortran:gcc
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g'\
Modified: head/math/libRmath/distinfo
==============================================================================
--- head/math/libRmath/distinfo Thu Oct 26 22:56:58 2017 (r452961)
+++ head/math/libRmath/distinfo Fri Oct 27 00:52:41 2017 (r452962)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499255209
-SHA256 (R-3.4.1.tar.gz) = 02b1135d15ea969a3582caeb95594a05e830a6debcdb5b85ed2d5836a6a3fc78
-SIZE (R-3.4.1.tar.gz) = 30200109
+TIMESTAMP = 1506856491
+SHA256 (R-3.4.2.tar.gz) = 971e30c2436cf645f58552905105d75788bd9733bddbcb7c4fbff4c1a6d80c64
+SIZE (R-3.4.2.tar.gz) = 30255544
More information about the svn-ports-head
mailing list