Ticket #23768: gramps_python26.patch
File gramps_python26.patch, 1.5 KB (added by lkraider (Paul Eipper), 15 years ago) |
---|
-
Portfile
old new 36 36 --disable-scrollkeeper 37 37 38 38 39 configure.env PYTHON=${prefix}/bin/python2.5 \ 40 GMSGFMT=${prefix}/bin/msgfmt 39 configure.env GMSGFMT=${prefix}/bin/msgfmt 41 40 42 depends_lib bin:update-mime-database:shared-mime-info \ 43 port:py25-gtk \ 44 port:py25-gnome \ 45 port:gtkspell2 \ 46 port:aspell-dict-en \ 47 port:gnome-python-extras 41 depends_lib bin:update-mime-database:shared-mime-info \ 42 port:gtk2 \ 43 port:librsvg \ 44 port:libsoup 48 45 46 variant spell { 47 depends_lib-append port:gtkspell2 \ 48 port:aspell-dict-en 49 } 50 51 variant graphviz { 52 depends_run-append port:graphviz 53 } 54 55 variant python25 conflicts python26 description {Use Python 2.5} { 56 depends_lib-append port:py25-gtk \ 57 port:py25-gnome \ 58 port:gnome-python-extras 59 configure.python ${prefix}/bin/python2.5 60 } 61 62 variant python26 conflicts python25 description {Use Python 2.6} { 63 depends_lib-append port:py26-gtk \ 64 port:py26-gnome \ 65 port:gnome-python26-extras 66 configure.python ${prefix}/bin/python2.6 67 } 49 68 69 if {![variant_isset python25]} { 70 default_variants +python26 71 } 72 50 73 post-activate { 51 74 system "update-mime-database ${prefix}/share/mime" 52 75 system "scrollkeeper-update"