Ticket #12142: R-gcc42.diff
File R-gcc42.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
Portfile
27 27 sha1 a75bbb598d7f957aec3c4be79f182a906fb14541 \ 28 28 rmd160 ae14775281b53a2ffc582977eec4c36c6bdc504f 29 29 30 depends_lib port:gcc4 0\30 depends_lib port:gcc42 \ 31 31 port:readline \ 32 32 port:gettext \ 33 33 lib:libjpeg:jpeg \ 34 34 lib:libpng:libpng 35 35 36 configure.env CC=${prefix}/bin/gcc- dp-4.0\37 CXX=${prefix}/bin/g++- dp-4.0\38 F77=${prefix}/bin/gfortran- dp-4.036 configure.env CC=${prefix}/bin/gcc-mp-4.2 \ 37 CXX=${prefix}/bin/g++-mp-4.2 \ 38 F77=${prefix}/bin/gfortran-mp-4.2 39 39 40 40 configure.args --mandir=\\\${prefix}/share/man \ 41 41 --enable-R-shlib \ … … 61 61 --with-tk-config=${prefix}/lib/tkConfig.sh 62 62 } 63 63 64 platform i386 {65 depends_lib-delete port:gcc4066 configure.env-delete CC=${prefix}/bin/gcc-dp-4.067 configure.env-delete CXX=${prefix}/bin/g++-dp-4.068 configure.env-delete F77=${prefix}/bin/gfortran-dp-4.069 70 depends_lib-append port:gcc4271 configure.env-append CC=${prefix}/bin/gcc-mp-4.272 configure.env-append CXX=${prefix}/bin/g++-mp-4.273 configure.env-append F77=${prefix}/bin/gfortran-mp-4.274 }75 76 64 post-destroot { 77 65 reinplace "s|R_HOME_DIR=${destroot}|R_HOME_DIR=|" \ 78 66 "${destroot}${prefix}/bin/R"