@@ -8,7 +8,7 @@ PortGroup legacysupport 1.1
8
8
name R
9
9
# Remember to set revision to 0 when bumping version
10
10
# And also to update Rversion in R PortGroup
11
- version 4.4.3
11
+ version 4.5.0
12
12
revision 0
13
13
14
14
set branch [join [lrange [split ${version} .] 0 1] .]
@@ -33,40 +33,25 @@ homepage https://www.r-project.org
33
33
master_sites https://cran.rstudio.com/src/base/R-4/ \
34
34
https://cran.r-project.org/src/base/R-4/
35
35
36
- checksums rmd160 eb32aec48a4332b6d4a45abcf81fa43e9467e004 \
37
- sha256 0d93d224442dea253c2b086f088db6d0d3cfd9b592cd5496e8cb2143e90fc9e8 \
38
- size 40234425
36
+ checksums rmd160 c5b69d0522c76e38b046f080e2c2adfbda5e0826 \
37
+ sha256 3b33ea113e0d1ddc9793874d5949cec2c7386f66e4abfb1cef9aec22846c3ce1 \
38
+ size 40466335
39
39
40
40
# Avoid Apple clangs:
41
41
compiler.blacklist-append {clang}
42
- # Blacklist macports-clang-17 +. See discussion: https://trac.macports.org/ticket/67144
42
+ # Blacklist macports-clang-20 +. See discussion: https://trac.macports.org/ticket/67144
43
43
# for rationale. The decision when to migrate to a new compiler
44
44
# is then in the hands of the R maintainers and will not change
45
45
# from the current defaults when these get bumped centrally.
46
- # NOTE : Keep this setting in sync with the one in the R portgroup.
47
- if { ${os.major} > 22 } {
48
- # https://trac.macports.org/ticket/70799
49
- compiler.blacklist-append {macports-clang-19} {macports-clang-2[0-9]}
50
- } else {
51
- compiler.blacklist-append {macports-clang-1[7-9]} {macports-clang-2[0-9]}
52
- }
53
- # Similarly, for gcc select the gcc13 variant of the compilers PG.
54
- # This setting should also be kept in sync with that in the R Portgroup.
46
+ # NOTE : Keep this setting in sync with the one in the R port.
47
+ compiler.blacklist-append {macports-clang-2[0-9]}
48
+ # Similarly, for gcc select the gcc14 variant of the compilers PG.
49
+ # This setting should also be kept in sync with that in the R Port.
55
50
# Updates should be coordinated with the R maintainers.
56
- if { ${os.major} < 10 || ${os.major} > 22 } {
57
- # https://trac.macports.org/ticket/70799
58
- compiler.blacklist-append {macports-gcc-1[5-9]}
59
- } else {
60
- compiler.blacklist-append {macports-gcc-1[4-9]}
61
- }
51
+ compiler.blacklist-append {macports-gcc-1[5-9]}
62
52
# NOTE: upon the update to gcc14, please update the blacklist accordingly,
63
53
# like it is done for clangs. We would prefer using the same version of gcc and gfortran.
64
- if { ${os.major} < 10 || ${os.major} > 22 } {
65
- # https://trac.macports.org/ticket/70799
66
- default_variants-append +gcc14
67
- } else {
68
- default_variants-append +gcc13
69
- }
54
+ default_variants-append +gcc14
70
55
71
56
# When switching to gcc14, make sure to add this flag when gcc is used
72
57
# as the primary compiler: -Wno-error=incompatible-pointer-types
@@ -80,6 +65,7 @@ configure.ccache no
80
65
81
66
compilers.choose fc f77
82
67
compilers.setup require_fortran
68
+ compiler.cxx_standard 2014
83
69
84
70
# https://trac.macports.org/ticket/69849
85
71
# https://bugs.r-project.org/show_bug.cgi?id=18713
@@ -276,6 +262,7 @@ variant x11 conflicts quartz {
276
262
depends_lib-append port:xorg-libice \
277
263
port:xorg-libsm \
278
264
port:xorg-libX11 \
265
+ port:xorg-libXmu \
279
266
port:xorg-libXt
280
267
configure.args-delete --without-x
281
268
configure.args-append --with-x \
0 commit comments