Edit

IABSD.fr/ports/lang/python/3.4/patches/patch-setup_py

Branch :

  • Show log

    Commit

  • Author : rpointel
    Date : 2014-12-19 20:32:07
    Hash : fef54035
    Message : Update to Python 3.4.2. ok aja@ (thanks).

  • lang/python/3.4/patches/patch-setup_py
  • $OpenBSD: patch-setup_py,v 1.2 2014/12/19 20:32:07 rpointel Exp $
    --- setup.py.orig	Wed Oct  8 10:18:16 2014
    +++ setup.py	Sun Dec 14 10:06:49 2014
    @@ -734,6 +734,8 @@ class PyBuildExt(build_ext):
                                                          'termcap'):
                     readline_libs.append('termcap')
                 exts.append( Extension('readline', ['readline.c'],
    +                                   extra_compile_args=['-nostdinc'],
    +                                   include_dirs=['/usr/include'],
                                        library_dirs=['/usr/lib/termcap'],
                                        extra_link_args=readline_extra_link_args,
                                        libraries=readline_libs) )
    @@ -1707,8 +1709,7 @@ class PyBuildExt(build_ext):
             # The versions with dots are used on Unix, and the versions without
             # dots on Windows, for detection by cygwin.
             tcllib = tklib = tcl_includes = tk_includes = None
    -        for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83',
    -                        '8.2', '82', '8.1', '81', '8.0', '80']:
    +        for version in ['85']:
                 tklib = self.compiler.find_library_file(lib_dirs,
                                                             'tk' + version)
                 tcllib = self.compiler.find_library_file(lib_dirs,