Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53184 Details for
Bug 76791
dev-python/pygtk-2.4.1 does not create neccassary .pth files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python-2.3.5.ebuild multilib fixes
python-multilib-fixes.patch (text/plain), 2.21 KB, created by
Herbie Hopkins (RETIRED)
on 2005-03-11 07:03:17 UTC
(
hide
)
Description:
python-2.3.5.ebuild multilib fixes
Filename:
MIME Type:
Creator:
Herbie Hopkins (RETIRED)
Created:
2005-03-11 07:03:17 UTC
Size:
2.21 KB
patch
obsolete
>--- python-2.3.5.ebuild.orig 2005-03-11 14:43:54.000000000 +0000 >+++ python-2.3.5.ebuild 2005-03-11 14:56:34.000000000 +0000 >@@ -56,7 +56,7 @@ > epatch ${FILESDIR}/${PN}-2.3-mimetypes_apache.patch > epatch ${FILESDIR}/${PN}-2.3-db4.2.patch > # installs to lib64 >- [ "${CONF_LIBDIR}" == "lib64" ] && epatch ${FILESDIR}/python-2.3.4-lib64.patch >+ [ "$(get_libdir)" == "lib64" ] && epatch ${FILESDIR}/python-2.3.4-lib64.patch > # fix os.utime() on hppa. utimes it not supported but unfortunately reported as working - gmsoft (22 May 04) > [ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i ${S}/configure > } >@@ -164,21 +164,13 @@ > > # seems like the build do not install Makefile.pre.in anymore > # it probably shouldn't - use DistUtils, people! >- if [ "${CONF_LIBDIR}" == "lib64" ] ;then >- insinto /usr/lib64/python${PYVER}/config >- else >- insinto /usr/lib/python${PYVER}/config >- fi >+ insinto /usr/$(get_libdir)/python${PYVER}/config > doins ${S}/Makefile.pre.in > > # While we're working on the config stuff... Let's fix the OPT var > # so that it doesn't have any opts listed in it. Prevents the problem > # with compiling things with conflicting opts later. >- if [ "${CONF_LIBDIR}" == "lib64" ] ;then >- dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/lib64/python${PYVER}/config/Makefile >- else >- dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/lib/python${PYVER}/config/Makefile >- fi >+ dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/$(get_libdir)/python${PYVER}/config/Makefile > > # install python-updater in /usr/sbin > dosbin ${FILESDIR}/python-updater >@@ -194,8 +186,7 @@ > > pkg_postrm() { > python_makesym >- python_mod_cleanup /usr/lib/python2.3 >- [ "${CONF_LIBDIR}" == "lib64" ] && python_mod_cleanup /usr/lib64/python2.3 >+ python_mod_cleanup /usr/$(get_libdir)/python2.3 > } > > pkg_postinst() { >@@ -205,9 +196,7 @@ > > python_makesym > python_mod_optimize >- python_mod_optimize -x site-packages -x test ${myroot}/usr/lib/python${PYVER} >- [ "${CONF_LIBDIR}" == "lib64" ] && \ >- python_mod_optimize -x site-packages -x test ${myroot}/usr/lib64/python${PYVER} >+ python_mod_optimize -x site-packages -x test ${myroot}/usr/$(get_libdir)/python${PYVER} > > # workaround possible python-upgrade-breaks-portage situation > if [ ! -f ${myroot}/usr/lib/portage/pym/portage.py ]; then
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 76791
:
48054
|
53184
|
53185