Ticket #30330: Portfile.diff

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

     
    3232configure.dir   ${workpath}/build
    3333configure.cmd   ${worksrcpath}/configure
    3434configure.args  --disable-mpi-f77 --disable-mpi-f90 \
    35                 --with-xgrid \
    3635                --sysconfdir=${prefix}/etc/${name} \
    3736                --includedir=${prefix}/include/${name} \
    3837                --bindir=${prefix}/lib/${name}/bin \
    3938                --mandir=${prefix}/share/man
     39# enable build on Lion
     40if {${os.major} >= 11} {
     41    configure.compiler       gcc-4.2
     42}
    4043
    4144build.dir       ${configure.dir}
    4245