Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 378752 Details for
Bug 513014
>=dev-python/pypy-2.2.1 missing a flag to build shared library
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that worked for me
use-shared.patch (text/plain), 1.54 KB, created by
Yuriy Taraday
on 2014-06-12 15:30:18 UTC
(
hide
)
Description:
patch that worked for me
Filename:
MIME Type:
Creator:
Yuriy Taraday
Created:
2014-06-12 15:30:18 UTC
Size:
1.54 KB
patch
obsolete
>--- pypy-2.3.ebuild 2014-06-12 19:26:02.198455654 +0400 >+++ pypy-2.3.1.ebuild 2014-06-12 11:22:28.029104687 +0400 >@@ -15,7 +15,7 @@ > LICENSE="MIT" > SLOT="0/$(get_version_component_range 1-2 ${PV})" > KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" >-IUSE="bzip2 doc +jit ncurses sandbox shadowstack sqlite sse2 tk" >+IUSE="bzip2 doc +jit ncurses sandbox shadowstack shared sqlite sse2 tk" > > RDEPEND=">=sys-libs/zlib-1.1.3 > virtual/libffi >@@ -86,6 +86,7 @@ > $(usex jit -Ojit -O2) > $(usex shadowstack --gcrootfinder=shadowstack '') > $(usex sandbox --sandbox '') >+ $(usex shared --shared '') > > ${jit_backend} > --make-jobs=$(makeopts_jobs) >@@ -127,10 +128,12 @@ > src_install() { > einfo "Installing PyPy ..." > insinto "/usr/$(get_libdir)/pypy" >- doins -r include lib_pypy lib-python pypy-c >- fperms a+x ${INSDESTTREE}/pypy-c >- pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" >+ doins -r include lib_pypy lib-python pypy-c $(usex shared 'libpypy-c.so' '') >+ fperms a+x ${INSDESTTREE}/pypy-c ${INSDESTTREE}/libpypy-c.so >+ local INSTSHARED=$(usex shared "${ED%/}${INSDESTTREE}/libpypy-c.so" "") >+ pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" "${INSTSHARED}" > dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy >+ dosym pypy/libpypy-c.so /usr/$(get_libdir)/libpypy-c.so > dodoc README.rst > > if ! use sqlite; then >@@ -151,6 +154,9 @@ > > python_export pypy EPYTHON PYTHON PYTHON_SITEDIR > local PYTHON=${ED%/}${INSDESTTREE}/pypy-c >+ if use shared; then >+ export LD_LIBRARY_PATH="${ED%/}${INSDESTTREE}" >+ fi > > echo "EPYTHON='${EPYTHON}'" > epython.py > python_domodule epython.py
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 513014
: 378752