Ticket #14530: python25-port.diff

File python25-port.diff, 1.3 KB (added by reiffert@…, 16 years ago)
  • Portfile

    diff -Naur python25.orig/Portfile python25/Portfile
    old new  
    3131                patch-Makefile.pre.in.diff \
    3232                patch-Misc-setuid-prog.c.diff \
    3333                patch-Modules-posixmodule.c.diff \
    34                 patch-Lib-cgi.py.diff
     34                patch-Lib-cgi.py.diff \
     35                patch-pydoc.py.diff
    3536
    3637configure.args  --enable-shared \
    3738                        --mandir=${prefix}/share/man \
  • files/patch-pydoc.py.diff

    diff -Naur python25.orig/files/patch-pydoc.py.diff python25/files/patch-pydoc.py.diff
    old new  
     1--- Lib/pydoc.py.orig   2008-03-01 03:53:44.000000000 +0100
     2+++ Lib/pydoc.py        2008-03-01 03:54:11.000000000 +0100
     3@@ -1630,7 +1630,7 @@
     4                     '/usr/doc/python-' + split(sys.version)[0],
     5                     '/usr/doc/python-docs-' + sys.version[:3],
     6                     '/usr/doc/python-' + sys.version[:3],
     7-                    os.path.join(sys.prefix, 'Resources/English.lproj/Documentation')]:
     8+                    os.path.join(sys.prefix, 'share/doc/python25-doc')]:
     9             if dir and os.path.isdir(os.path.join(dir, 'lib')):
     10                 self.docdir = dir
     11