View | Details | Raw Unified | Return to bug 274099 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/python27/Makefile (+3 lines)
Lines 119-124 post-patch: Link Here
119
		${WRKSRC}/setup.py
119
		${WRKSRC}/setup.py
120
.endif
120
.endif
121
121
122
	${REINPLACE_CMD} -e 's|%%OPENSSLINC%%|${OPENSSLINC}|' \
123
		${WRKSRC}/setup.py
124
122
# This is just a dirty hack for building with OpenSSL 3.0.0 and later
125
# This is just a dirty hack for building with OpenSSL 3.0.0 and later
123
# There is no plain string OPENSSL_VERSION_NUMBER available in
126
# There is no plain string OPENSSL_VERSION_NUMBER available in
124
# openssl/opensslv.h so setup.py just detects the string as 00000000
127
# openssl/opensslv.h so setup.py just detects the string as 00000000
(-)b/lang/python27/files/patch-setup.py (+9 lines)
Lines 24-29 Link Here
24
 
24
 
25
 def add_dir_to_list(dirlist, dir):
25
 def add_dir_to_list(dirlist, dir):
26
     """Add the directory 'dir' to the list 'dirlist' (at the front) if
26
     """Add the directory 'dir' to the list 'dirlist' (at the front) if
27
@@ -888,7 +889,7 @@ class PyBuildExt(build_ext):
28
 
29
         # look for the openssl version header on the compiler search path.
30
         opensslv_h = find_file('openssl/opensslv.h', [],
31
-                inc_dirs + search_for_ssl_incs_in)
32
+                ['%%OPENSSLINC%%'] + inc_dirs + search_for_ssl_incs_in)
33
         if opensslv_h:
34
             name = os.path.join(opensslv_h[0], 'openssl/opensslv.h')
35
             if host_platform == 'darwin' and is_macosx_sdk_path(name):
27
@@ -1234,7 +1235,7 @@ class PyBuildExt(build_ext):
36
@@ -1234,7 +1235,7 @@ class PyBuildExt(build_ext):
28
                 sysroot = macosx_sdk_root()
37
                 sysroot = macosx_sdk_root()
29
                 f = os.path.join(sysroot, f[1:])
38
                 f = os.path.join(sysroot, f[1:])

Return to bug 274099