Ticket #18588: Portfile.diff

File Portfile.diff, 455 bytes (added by tenomoto (Takeshi Enomoto), 12 years ago)
  • Portfile

    old new  
    3535        system "ln -sf ${workpath}/d ${workpath}/gcc-${gcc_version}/gcc/d"
    3636}
    3737
     38pre-configure {
     39        reinplace "s|tjmp %%edx|tjmp *%%edx|" ${workpath}/gcc-${gcc_version}/gcc/config/i386/i386.c
     40}
     41
    3842patch.dir       ${workpath}/gcc-${gcc_version}
    3943post-patch {
    4044        system "cd ${workpath}/gcc-${gcc_version}/ && gcc/d/setup-gcc.sh"