FreeBSD Bugzilla – Attachment 174374 Details for
Bug 209355
lang/python3*: install fails if archivers/lzmalib is installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
link liblzma.so.5
lang_python_lzma0.diff (text/plain), 1.58 KB, created by
Fukang Chen
on 2016-09-04 16:18:11 UTC
(
hide
)
Description:
link liblzma.so.5
Filename:
MIME Type:
Creator:
Fukang Chen
Created:
2016-09-04 16:18:11 UTC
Size:
1.58 KB
patch
obsolete
>Index: lang/python35/Makefile >=================================================================== >--- lang/python35/Makefile (revision 421281) >+++ lang/python35/Makefile (working copy) >@@ -104,6 +104,11 @@ > PLIST_FILES+= libdata/pkgconfig/python-%%XYDOT%%%%ABI%%.pc > .endif > >+# https://bugs.freebsd.org/209355 >+.if exists(${LOCALBASE}/lib/liblzma.so) >+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-lzmalib >+.endif >+ > # http://bugs.python.org/issue22521 > # http://bugs.python.org/issue23042 > .if ${ARCH} == i386 && !${PORT_OPTIONS:MLIBFFI} >Index: lang/python35/files/extra-patch-lzmalib >=================================================================== >--- lang/python35/files/extra-patch-lzmalib (nonexistent) >+++ lang/python35/files/extra-patch-lzmalib (working copy) >@@ -0,0 +1,11 @@ >+--- setup.py.orig 2016-09-03 05:52:07 UTC >++++ setup.py >+@@ -1451,7 +1451,7 @@ class PyBuildExt(build_ext): >+ # LZMA compression support. >+ if self.compiler.find_library_file(lib_dirs, 'lzma'): >+ exts.append( Extension('_lzma', ['_lzmamodule.c'], >+- libraries = ['lzma']) ) >++ extra_link_args = ('-l:liblzma.so.5',)) ) >+ else: >+ missing.append('_lzma') >+ > >Property changes on: lang/python35/files/extra-patch-lzmalib >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209355
: 174374 |
174375