Ticket #40471: Portfile.diff

File Portfile.diff, 2.4 KB (added by howarth@…, 11 years ago)

Portfile diff to update to 2.3.1r2, add gcc48/gcc49 variants and default to gcc48 variant

  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                ccpnmr
    7 version             2.3.0
     7version             2.3.1r2
    88set branch          [join [lrange [split $version .] 0 1] .]
    99categories          science python
    1010maintainers         bromo.med.uc.edu:howarth
     
    1919homepage            http://www.ccpn.ac.uk/ccpn/software/ccpnmr-suite
    2020master_sites        http://www2.ccpn.ac.uk/download/ccpnmr/
    2121distname            analysis${version}
    22 checksums           rmd160  1124fa7d38fb6e709bbd078b630f6619bc433bd9 \
    23                     sha256  b36ed5b773ca6b0d7a09ff705cf98256cbc093f57d51f6945ac021c5d2a380f1
     22checksums           rmd160  f695780f5bce5f0c1e84080b8364b5bfaba2a0e9 \
     23                    sha256  a9e47a24d84f7b8261c6c23a8607af5a6ba2f2db9e161a7f873794c1ba8663ef
    2424worksrcdir          ${name}
    2525depends_lib         port:py27-scipy port:mesa port:freeglut port:tk port:py27-tkinter
    2626patchfiles          ccpnmr.patch
     
    7777    system "${python.bin} -O ${python.libdir}/compileall.py -d ${python.pkgd}/${name}/${name}${branch} ${destroot}${python.pkgd}/${name}/${name}${branch}"
    7878}
    7979
    80 variant gcc45 conflicts gcc46 gcc47 description {Build with GCC 4.5} {
     80variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49  description {Build with GCC 4.5} {
    8181    configure.compiler  macports-gcc-4.5
    8282    set lib ${prefix}/lib/gcc45
    8383}
    84 variant gcc46 conflicts gcc45 gcc47 description {Build with GCC 4.6} {
     84variant gcc46 conflicts gcc45 gcc47 gcc48 gcc49 description {Build with GCC 4.6} {
    8585    configure.compiler  macports-gcc-4.6
    8686    set lib ${prefix}/lib/gcc46
    8787}
    88 variant gcc47 conflicts gcc45 gcc46 description {Build with GCC 4.7} {
     88variant gcc47 conflicts gcc45 gcc46 gcc48 gcc49 description {Build with GCC 4.7} {
    8989    configure.compiler  macports-gcc-4.7
    9090    set lib ${prefix}/lib/gcc47
    9191}
     92variant gcc48 conflicts gcc45 gcc46 gcc47 gcc49 description {Build with GCC 4.7} {
     93    configure.compiler  macports-gcc-4.8
     94    set lib ${prefix}/lib/gcc48
     95}
     96variant gcc49 conflicts gcc45 gcc46 gcc47 gcc48 description {Build with GCC 4.7} {
     97    configure.compiler  macports-gcc-4.9
     98    set lib ${prefix}/lib/gcc49
     99}
    92100
    93 if {![variant_isset gcc45] && ![variant_isset gcc46]} {
    94     default_variants    +gcc47
     101if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc49]} {
     102    default_variants    +gcc48
    95103}