Ticket #45971: Portfile.patch
File Portfile.patch, 805 bytes (added by ozaktash@…, 10 years ago) |
---|
-
Portfile
a b 55 55 dist_subdir gcc 56 56 57 57 depends_lib port:${crossgcc-target}-binutils 58 depends_build bin:msgfmt:gettext 58 depends_build bin:msgfmt:gettext port:gcc49 59 59 60 60 # gcc is .bz2, newlib is .gz. 61 61 # let's extract only gcc with MacPorts infrastructure, we'll do newlib manually. 62 62 use_bzip2 yes 63 63 extract.only gcc-${version}.tar.bz2 64 64 65 # Use makeinfo from OSX 66 build.args-append "MAKEINFO=/usr/bin/makeinfo" 67 destroot.args-append "MAKEINFO=/usr/bin/makeinfo" 68 69 # Use gcc49 70 compiler.whitelist macports-gcc-4.9 71 65 72 # Extract newlib and create a symlink of newlib/newlib in gcc directory. 66 73 post-extract { 67 74 system "cd ${workpath} && gzip -dc ${distpath}/newlib-${newlibversion}.tar.gz | tar -xf -"