Ticket #13820: Portfile-gimp2.diff

File Portfile-gimp2.diff, 1.4 KB (added by gui-dos (Guido Soranzio), 17 years ago)
  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name            gimp2
    6 version         2.4.2
     6version         2.4.3
    77categories      graphics
    88maintainers     nomaintainer
    99homepage        http://www.gimp.org/
     
    2020master_sites    http://gimp.mirrors.hoobly.com/gimp/v${M.m}/ \
    2121                ftp://ftp.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/v${M.m}/ \
    2222                ftp://ftp.gimp.org/pub/gimp/v${M.m}/
    23 checksums       md5 ebd8902d29753d41c8d51a3efd84d1bf
     23checksums       md5 958988ac02642e2dfda7ad7d045e2a84
    2424distname        gimp-${version}
    2525use_bzip2       yes
    2626
     
    3737                port:poppler \
    3838                port:py25-gtk
    3939
    40 configure.env   PYTHON=${prefix}/bin/python2.5
     40platform darwin 9 {
     41    post-patch {
     42        reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.am
     43        reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.in
     44    }
     45}
     46
     47configure.python    ${prefix}/bin/python2.5
    4148configure.args  --enable-mp \
    4249                --with-pdbgen \
    4350                --without-dbus
     
    5360
    5461variant no_python description "Disable Python scripts and filters." {
    5562    depends_lib-delete      port:py25-gtk
    56     configure.env-delete    PYTHON=${prefix}/bin/python2.5
    5763    configure.args-append   --disable-python
    5864}
    5965