Ticket #4176: gmp-Portfile.patch

File gmp-Portfile.patch, 783 bytes (added by mellon85@…, 19 years ago)

Portfile patch

  • Portfile

    old new  
    2828checksums       md5 0aa7d3b3f5b5ec5951e7dddd6f65e891
    2929use_bzip2       yes
    3030
     31build.cmd make -j2
     32
     33configure.env { CFLAGS="-O2" }
     34
    3135configure.args  --infodir=\\\${prefix}/share/info
    3236
    3337post-destroot   { system "ranlib ${destroot}${prefix}/lib/libgmp.a"
    34                   ui_info "Executed ranlib ${prefix}/lib/libgmp.a"}
     38                  ui_info "Executed ranlib ${prefix}/lib/libgmp.a"
     39                          }
     40
     41variant powerpc     {
     42    configure.env-append CFLAGS="-O2 -funroll-loops -mpowerpc"
     43}
    3544
    3645variant darwin x86      {
    3746        configure.args-append   --host=none-apple-darwin