Ticket #51397: crossgcc-1.0.tcl.diff
File crossgcc-1.0.tcl.diff, 1.5 KB (added by denis-fr (Denis), 8 years ago) |
---|
-
crossgcc-1.0.tcl
old new 69 69 and Objective-C++ for cross development for ${crossgcc.target}. 70 70 71 71 homepage http://gcc.gnu.org/ 72 master_sites gnu:gcc/gcc-${ version}/:gcc72 master_sites gnu:gcc/gcc-${crossgcc.version}/:gcc 73 73 use_bzip2 yes 74 74 75 75 dist_subdir gcc 76 distfiles gcc-${ version}.tar.bz2:gcc76 distfiles gcc-${crossgcc.version}.tar.bz2:gcc 77 77 78 worksrcdir gcc-${ version}78 worksrcdir gcc-${crossgcc.version} 79 79 80 80 depends_lib port:${crossgcc.target}-binutils \ 81 81 port:gmp \ … … 88 88 89 89 # Extract gcc distfiles only. libc tarball might be available as gzip only; 90 90 # handled below in post-extract in the variant. 91 extract.only gcc-${ version}.tar.bz291 extract.only gcc-${crossgcc.version}.tar.bz2 92 92 93 93 # Build in a different directory, as advised in the README file. 94 94 post-extract { … … 229 229 230 230 post-extract { 231 231 system -W ${workpath} "tar -xzf ${distpath}/newlib-${crossgcc.libc_version}.tar.gz" 232 ln -s ${workpath}/newlib-${crossgcc.libc_version}/newlib ${workpath}/gcc-${ version}/232 ln -s ${workpath}/newlib-${crossgcc.libc_version}/newlib ${workpath}/gcc-${crossgcc.version}/ 233 233 } 234 234 235 235 configure.args-append --with-newlib