Ticket #45971: Portfile.patch

File Portfile.patch, 805 bytes (added by ozaktash@…, 10 years ago)
  • Portfile

    a b  
    5555dist_subdir                     gcc
    5656
    5757depends_lib                     port:${crossgcc-target}-binutils
    58 depends_build           bin:msgfmt:gettext
     58depends_build           bin:msgfmt:gettext port:gcc49
    5959
    6060# gcc is .bz2, newlib is .gz.
    6161# let's extract only gcc with MacPorts infrastructure, we'll do newlib manually.
    6262use_bzip2                       yes
    6363extract.only            gcc-${version}.tar.bz2
    6464
     65# Use makeinfo from OSX
     66build.args-append "MAKEINFO=/usr/bin/makeinfo"
     67destroot.args-append "MAKEINFO=/usr/bin/makeinfo"
     68
     69# Use gcc49
     70compiler.whitelist macports-gcc-4.9
     71
    6572# Extract newlib and create a symlink of newlib/newlib in gcc directory.
    6673post-extract    {
    6774        system "cd ${workpath} && gzip -dc ${distpath}/newlib-${newlibversion}.tar.gz | tar -xf -"