Ticket #18797: matplotlib-Tiger.diff

File matplotlib-Tiger.diff, 1.2 KB (added by skymoo (Adam Mercer), 16 years ago)

use pyobjc2 only on Leopard

  • python/py25-matplotlib/Portfile

    diff --git a/python/py25-matplotlib/Portfile b/python/py25-matplotlib/Portfile
    index f54361d..89d580d 100644
    a b PortGroup python25 1.0 
    66categories-append  graphics math
    77name               py25-matplotlib
    88version            0.98.5.2
    9 revision           1
     9revision           2
    1010maintainers        ram openmaintainer
    1111platforms          darwin
    1212
    depends_lib-append port:freetype \ 
    3232                   port:py25-tz \
    3333                   port:py25-numpy \
    3434                   port:py25-configobj \
    35                    port:py25-pyobjc2-cocoa
     35                   port:py25-pyobjc
    3636
    3737patchfiles         patch-setupext.py.diff \
    3838                   patch-setup.cfg.diff \
    More details, regarding backends, can be found in the matplotlib FAQ: 
    6464\nhttp://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend\n"
    6565}
    6666
     67platform darwin 9 {
     68  depends_lib-delete port:py25-pyobjc
     69  depends_lib-append port:py25-pyobjc2 port:py25-pyobjc2-cocoa
     70}
     71
    6772variant cairo description "Enable Cairo backends" {
    6873  depends_lib-append port:py25-cairo
    6974  post-patch {