From bef5b36b9e0cfbf2ab80c0de01f465f8e1fc2f06 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 23 Jan 2007 17:18:54 +0000 Subject: - fix breakage that got introduced by a malformed context diff. Sorry.. --- package/python/python-010-disable_modules_and_ssl.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/python/python-010-disable_modules_and_ssl.patch') diff --git a/package/python/python-010-disable_modules_and_ssl.patch b/package/python/python-010-disable_modules_and_ssl.patch index c7d41184e..a690eae38 100644 --- a/package/python/python-010-disable_modules_and_ssl.patch +++ b/package/python/python-010-disable_modules_and_ssl.patch @@ -22,9 +22,9 @@ diff -rduNp Python-2.4.2-002/setup.py Python-2.4.2/setup.py def detect_modules(self): + global disable_ssl - for dir in modules_include_dirs: - add_dir_to_list(self.compiler.include_dirs, dir) - for dir in modules_lib_dirs: + try: + modules_include_dirs = os.environ["PYTHON_MODULES_INCLUDE"].split() + except KeyError: @@ -468,7 +476,8 @@ class PyBuildExt(build_ext): ] ) -- cgit v1.2.3