Ticket #35845: Portfile.diff
File Portfile.diff, 2.1 KB (added by kjellpk (Kjell Konis), 12 years ago) |
---|
-
Portfile
old new 9 9 name R-framework 10 10 conflicts R 11 11 version ${major}.${minor}.${point} 12 revision 1 12 13 categories math science 13 14 maintainers me.com:kjell.konis 14 15 license {GPL-2 GPL-3} … … 103 104 depends_lib-append port:gcc45 104 105 configure.compiler macports-gcc-4.5 105 106 configure.objc /usr/bin/gcc 106 configure.env-append "OBJCXX=${configure.objc}"107 107 } 108 108 109 109 variant gcc46 conflicts gcc45 gcc47 llvm_gcc42 description {build with gcc46} { 110 110 depends_lib-append port:gcc46 111 111 configure.compiler macports-gcc-4.6 112 112 configure.objc /usr/bin/gcc 113 configure.env-append "OBJCXX=${configure.objc}"114 113 } 115 114 116 115 variant gcc47 conflicts gcc45 gcc46 llvm_gcc42 description {build with gcc47} { 117 116 depends_lib-append port:gcc47 118 117 configure.compiler macports-gcc-4.7 119 118 configure.objc /usr/bin/gcc 120 configure.env-append "OBJCXX=${configure.objc}"121 119 } 122 120 123 121 variant llvm_gcc42 conflicts gcc45 gcc46 gcc47 description {build with llvm-gcc42} { … … 159 157 --x-lib=${prefix}/lib 160 158 } 161 159 162 default_variants +cairo +recommended + tcltk +x11160 default_variants +cairo +recommended +x11 163 161 164 162 if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset builtin_lapack]} { 165 163 default_variants-append +accelerate … … 184 182 185 183 reinplace "s|R_ARCH=/`arch`|R_ARCH=/${build_arch}|" "${destroot}${resources}/bin/R" 186 184 reinplace "s|-F${destroot}|-F|" "${destroot}${resources}/etc/${build_arch}/Makeconf" 185 reinplace "s|OBJCXX = |OBJCXX = /usr/bin/g++|" "${destroot}${resources}/etc/${build_arch}/Makeconf" 186 reinplace "s|OBJC_LIBS = none |OBJC_LIBS = -lobjc |" "${destroot}${resources}/etc/${build_arch}/Makeconf" 187 187 188 188 file delete ${destroot}${resources}/lib/libR.dylib 189 189 file delete ${destroot}${resources}/lib/libRblas.dylib