Ticket #33512: R-Portfile.diff
File R-Portfile.diff, 1.9 KB (added by kjell.konis@…, 13 years ago) |
---|
-
Portfile
old new 4 4 5 5 name R 6 6 conflicts R-framework 7 version 2.14. 17 version 2.14.2 8 8 categories math science 9 9 maintainers epfl.ch:kjell.konis 10 10 license GPL-2 GPL-3 … … 26 26 http://cran.hu.r-project.org/src/base/R-2/ \ 27 27 http://cran.r-project.org/src/base/R-2/ 28 28 29 checksums rmd160 9dcd1d135701e3c682585346e7c48ac2c62012fd\30 sha256 d8a18914005975f40ed8fb37e3532422f769fb454651a9ed75f73c2bee9c0c4c29 checksums rmd160 6055dd28a99baa7b23c55f74dc1479e93a0dee58 \ 30 sha256 ccd8b43a746dc7105a1c77423ea1bb72dc333b41d9e9801a96d6f71c2266736e 31 31 32 32 depends_build port:pkgconfig 33 33 … … 99 99 100 100 default_variants +recommended 101 101 102 if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} { 103 default_variants-append +gcc44 102 if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && 103 ![variant_isset gcc45] && ![variant_isset gcc46]} { 104 default_variants-append +gcc45 104 105 } 105 106 106 107 post-patch { … … 160 161 ${destroot_so_path}" 161 162 } 162 163 164 system "install_name_tool -change libR.dylib ${prefix}/lib/R/lib/${build_arch}/libR.dylib \ 165 ${destroot}${prefix}/lib/R/bin/exec/${build_arch}/R" 166 system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/${build_arch}/libRblas.dylib \ 167 ${destroot}${prefix}/lib/R/bin/exec/${build_arch}/R" 168 163 169 reinplace "s|-dylib_file libRblas\.dylib:\$\(R_HOME\)/lib\$\(R_ARCH\)/libRblas\.dylib| |" \ 164 170 "${destroot}${prefix}/lib/R/etc/${build_arch}/Makeconf" 165 171 } … … 167 173 livecheck.type regex 168 174 livecheck.url [lindex ${master_sites} 0] 169 175 livecheck.regex >${name}-(\[0-9.\]+)${extract.suffix}< 176 177 178