New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13314: Portfile.diff

File Portfile.diff, 0.9 KB (added by roland@…, 4 years ago)

Patch against Portfile.

  • Portfile

    old new  
    4646patch.dir       ${workpath}/gcc-${version} 
    4747 
    4848configure.cmd   ../gcc-${version}/configure 
    49 configure.args  --enable-languages=c \ 
     49configure.args  --enable-languages=c,c++,java,objc,obj-c++,fortran \ 
    5050                                --libdir=${prefix}/lib/${name} \ 
    5151                                --includedir=${prefix}/include/${name} \ 
    5252                                --infodir=${prefix}/share/info \ 
     
    7676        } 
    7777} 
    7878 
     79# Handle Texinfo 4.1x. 
     80patchfiles                      patch-configure-texinfo 
     81 
    7982platform darwin 8 { 
    8083        configure.compiler      gcc-4.0 
    8184} 
    8285 
     86platform darwin 9 { 
     87        patchfiles-append       patch-make-exports.pl-leopard 
     88        # Workaround for libiconv on Mac OS X 10.5 Leopard: force configure 
     89        # to look for the system's library, not the MacPort's one. 
     90        configure.args-append   --with-libiconv-prefix=/usr 
     91} 
     92 
    8393platform darwin i386 { 
    84         patchfiles              patch-darwin.h 
     94        patchfiles-append       patch-darwin.h 
    8595} 
    8696 
    8797variant odcctools {