Ticket #17416: Portfile.patch

File Portfile.patch, 1.4 KB (added by adfernandes (Andrew Fernandes), 15 years ago)

port patch

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            gromacs
    5 version         4.0
     5version         4.0.2
    66categories      science math
    77maintainers     mac.com:mlund
    88description     The World's fastest Molecular Dynamics package
     
    2020master_sites    ftp://ftp.gromacs.org/pub/${name} \
    2121                http://cluster.earlham.edu/detail/home/charliep/packages
    2222
    23 checksums       md5 bfc18a2ecc998f542438316b9148b7ff \
    24                 sha1 5c8f0c3bfa2950bb936b4bfc5e9241028ffb8f1d \
    25                 rmd160 3156220f6b98ec4c04c264c8f798c616ce668a07
     23checksums       sha1 631db66fb29d93d0735f047060a12d700ae9df11
     24
     25depends_build                   port:gcc42
     26configure.compiler      macports-gcc-4.2
    2627
    2728depends_lib     port:fftw-3-single port:openmotif
    2829
     
    3233  depends_lib-delete       port:openmotif
    3334  configure.args-delete    --with-x
    3435  configure.args-append    --without-x
    35 }
     36}
     37 
    3638variant double description {Double precision floating-point arithmetics} {
    3739  depends_lib-delete       port:fftw-3-single
    3840  depends_lib-append       port:fftw-3
    3941  configure.args-append    --enable-double
    4042}
     43
    4144platform darwin powerpc {
    4245  depends_build-append         port:gcc42
    4346  configure.compiler       macports-gcc-4.2
    4447}
    4548
     49variant gcc43 {
     50  depends_build-delete         port:gcc42
     51  depends_build-append         port:gcc43
     52  configure.compiler       macports-gcc-4.3
     53}