diff options
author | jrm <jrm@FreeBSD.org> | 2017-10-27 08:52:41 +0800 |
---|---|---|
committer | jrm <jrm@FreeBSD.org> | 2017-10-27 08:52:41 +0800 |
commit | 41a66d10428935f4ca516088d7fbbc0f18d62294 (patch) | |
tree | d61ca0925ea833d1fd37dae464958b3cf2064032 /math | |
parent | c643641b4c4c99d85f1a1f1ba167208ea48c39fd (diff) | |
download | freebsd-ports-gnome-41a66d10428935f4ca516088d7fbbc0f18d62294.tar.gz freebsd-ports-gnome-41a66d10428935f4ca516088d7fbbc0f18d62294.tar.zst freebsd-ports-gnome-41a66d10428935f4ca516088d7fbbc0f18d62294.zip |
math/libRmath: Update to version 3.4.2 and add an option on amd64 to choose
the fortran compiler.
Diffstat (limited to 'math')
-rw-r--r-- | math/libRmath/Makefile | 26 | ||||
-rw-r--r-- | math/libRmath/distinfo | 6 |
2 files changed, 25 insertions, 7 deletions
diff --git a/math/libRmath/Makefile b/math/libRmath/Makefile index f441b0c65c4d..d6a7b10dda42 100644 --- a/math/libRmath/Makefile +++ b/math/libRmath/Makefile @@ -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,12 +24,29 @@ CONFIGURE_ARGS= --disable-nls --with-ICU=no --with-cairo=no \ --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'\ ${WRKSRC}/src/nmath/standalone/Makefile.in \ diff --git a/math/libRmath/distinfo b/math/libRmath/distinfo index f32a2d403a93..24362af1947a 100644 --- a/math/libRmath/distinfo +++ b/math/libRmath/distinfo @@ -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 |