--- wxpython-2.4.2.4-r2.ebuild.orig 2005-08-24 03:33:01.000000000 +0000 +++ wxpython-2.4.2.4-r2.ebuild 2005-08-24 03:34:27.000000000 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.4.2.4-r2.ebuild,v 1.7 2005/06/17 20:28:29 hansmi Exp $ -inherit eutils wxwidgets python +inherit eutils wxwidgets python multilib MY_P="${P/wxpython-/wxPythonSrc-}" S="${WORKDIR}/${MY_P}/wxPython" @@ -69,7 +69,7 @@ local mypyconf local dest local wx_name - local site_pkgs=/usr/lib/python${PYVER}/site-packages + local site_pkgs=/usr/$(get_libdir)/python${PYVER}/site-packages use opengl \ && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ @@ -79,7 +79,8 @@ || mypyconf="${mypyconf} WXPORT=gtk" use unicode && mypyconf="${mypyconf} UNICODE=1" - python setup.py ${mypyconf} install --prefix=/usr --root=${D} || die + python setup.py ${mypyconf} install --prefix=/usr \ + --install-lib=/usr/$(get_libdir)/ --root=${D} || die # This can all be removed when 2.4.3 is released: # Future: Make sure we don't clobber existing wxversion.py or wx.pth @@ -123,7 +124,7 @@ pkg_postrm() { python_version - site_pkgs=/usr/lib/python${PYVER}/site-packages + site_pkgs=/usr/$(get_libdir)/python${PYVER}/site-packages cd ${site_pkgs} #If 2.4 is removed, set 2.6 as default version: for wxver in "wx-2.6-gtk2-unicode" "wx-2.6-gtk2-ansi" "wx-2.6-gtk"