Ticket #26976: R-Portfile.patch

File R-Portfile.patch, 1.9 KB (added by jmrosenstock@…, 14 years ago)
Line 
1*** /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/R/Portfile.orig       Sun Oct 24 10:31:18 2010
2--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/R/Portfile    Sun Oct 24 10:38:07 2010
3***************
4*** 49,73 ****
5      configure.args-append --with-recommended-packages
6  }
7 
8! variant gcc42 conflicts gcc43 gcc44 description {Build with gcc42} {
9      configure.compiler macports-gcc-4.2
10      depends_lib-append port:gcc42
11  }
12 
13! variant gcc43 conflicts gcc42 gcc44 description {Build with gcc43} {
14      configure.compiler macports-gcc-4.3
15      depends_lib-append port:gcc43
16  }
17 
18! variant gcc44 conflicts gcc42 gcc43 description {Build with gcc44} {
19      configure.compiler macports-gcc-4.4
20      depends_lib-append port:gcc44
21  }
22 
23  default_variants +recommended
24 
25! if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44]} {
26!     default_variants-append +gcc44
27  }
28 
29  post-extract {
30--- 49,78 ----
31      configure.args-append --with-recommended-packages
32  }
33 
34! variant gcc42 conflicts gcc43 gcc44 gcc45 description {Build with gcc42} {
35      configure.compiler macports-gcc-4.2
36      depends_lib-append port:gcc42
37  }
38 
39! variant gcc43 conflicts gcc42 gcc44 gcc45 description {Build with gcc43} {
40      configure.compiler macports-gcc-4.3
41      depends_lib-append port:gcc43
42  }
43 
44! variant gcc44 conflicts gcc42 gcc43 gcc45 description {Build with gcc44} {
45      configure.compiler macports-gcc-4.4
46      depends_lib-append port:gcc44
47  }
48 
49+ variant gcc45 conflicts gcc42 gcc43 gcc44 description {Build with gcc44} {
50+     configure.compiler macports-gcc-4.5
51+     depends_lib-append port:gcc45
52+ }
53+
54  default_variants +recommended
55 
56! if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
57!     default_variants-append +gcc45
58  }
59 
60  post-extract {