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

Collapse All | Expand All

(-)lang/python35/Makefile (+5 lines)
Lines 104-109 Link Here
104
PLIST_FILES+=	libdata/pkgconfig/python-%%XYDOT%%%%ABI%%.pc
104
PLIST_FILES+=	libdata/pkgconfig/python-%%XYDOT%%%%ABI%%.pc
105
.endif
105
.endif
106
106
107
# https://bugs.freebsd.org/209355
108
.if exists(${LOCALBASE}/lib/liblzma.so)
109
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-lzmalib
110
.endif
111
107
# http://bugs.python.org/issue22521
112
# http://bugs.python.org/issue22521
108
# http://bugs.python.org/issue23042
113
# http://bugs.python.org/issue23042
109
.if ${ARCH} == i386 && !${PORT_OPTIONS:MLIBFFI}
114
.if ${ARCH} == i386 && !${PORT_OPTIONS:MLIBFFI}
(-)lang/python35/files/extra-patch-lzmalib (+11 lines)
Line 0 Link Here
1
--- setup.py.orig	2016-09-03 05:52:07 UTC
2
+++ setup.py
3
@@ -1451,7 +1451,7 @@ class PyBuildExt(build_ext):
4
         # LZMA compression support.
5
         if self.compiler.find_library_file(lib_dirs, 'lzma'):
6
             exts.append( Extension('_lzma', ['_lzmamodule.c'],
7
-                                   libraries = ['lzma']) )
8
+                                   extra_link_args = ('-l:liblzma.so.5',)) )
9
         else:
10
             missing.append('_lzma')
11
 

Return to bug 209355