components/python/python27/patches/02-setup.patch
changeset 885 2af25a1da825
parent 458 2edc011b559e
child 1914 00e8dbcb9b1e
child 3367 ed5024e47b53
equal deleted inserted replaced
884:cd5a2da081ff 885:2af25a1da825
     1 --- Python-2.7.1/setup.py.~1~	Sun Oct 31 11:40:21 2010
     1 --- Python-2.7.1/setup.py.~1~	Sun Oct 31 11:40:21 2010
     2 +++ Python-2.7.1/setup.py	Fri Jul 15 15:04:56 2011
     2 +++ Python-2.7.1/setup.py	Fri Jul 15 15:04:56 2011
     3 @@ -347,8 +347,8 @@
     3 @@ -369,8 +369,8 @@
     4  
     4  
     5      def detect_modules(self):
     5      def detect_modules(self):
     6          # Ensure that /usr/local is always used
     6          # Ensure that /usr/local is always used
     7 -        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
     7 -        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
     8 -        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
     8 -        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
     9 +        #add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
     9 +        #add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
    10 +        #add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
    10 +        #add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
       
    11          self.add_multiarch_paths()
    11  
    12  
    12          # Add paths specified in the environment variables LDFLAGS and
    13          # Add paths specified in the environment variables LDFLAGS and
    13          # CPPFLAGS for header and library files.
       
    14 @@ -657,6 +657,13 @@
    14 @@ -657,6 +657,13 @@
    15                                                       ['/usr/lib/termcap'],
    15                                                       ['/usr/lib/termcap'],
    16                                                       'termcap'):
    16                                                       'termcap'):
    17                  readline_libs.append('termcap')
    17                  readline_libs.append('termcap')
    18 +
    18 +