Ticket #24029: patch-gnome-doc-utils-xml2po.diff

File patch-gnome-doc-utils-xml2po.diff, 1.1 KB (added by raimue (Rainer Müller), 15 years ago)

Possible fix, not so nice but works

  • Portfile

     
    55
    66name           gnome-doc-utils
    77version        0.18.1
    8 revision       0
     8revision       1
    99set branch     [join [lrange [split ${version} .] 0 1] .]
    1010description    GNOME document utils.
    1111long_description \
     
    4848
    4949configure.env-append  INTLTOOL_PERL=${prefix}/bin/perl
    5050configure.args         --disable-scrollkeeper \
    51                        --mandir=${prefix}/share/man
     51                       --mandir=${prefix}/share/man \
     52                       am_cv_python_pythondir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages/
    5253
    5354# Default to 2.6 since 2.5 fails universal on Leopard... Ticket #17501
    5455
     
    6465    depends_run-delete      port:py26-libxml2
    6566    depends_run-append      port:py25-libxml2
    6667    configure.python        ${prefix}/bin/python2.5
     68    configure.args-delete   am_cv_python_pythondir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages/
    6769}
    6870
    6971universal_variant   no