summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/panda3d/panda3d-1.0.5.ebuild')
-rw-r--r--media-libs/panda3d/panda3d-1.0.5.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/media-libs/panda3d/panda3d-1.0.5.ebuild b/media-libs/panda3d/panda3d-1.0.5.ebuild
index 14bdb5499dba..dc0d8050b188 100644
--- a/media-libs/panda3d/panda3d-1.0.5.ebuild
+++ b/media-libs/panda3d/panda3d-1.0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/panda3d/panda3d-1.0.5.ebuild,v 1.5 2007/10/17 18:21:00 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/panda3d/panda3d-1.0.5.ebuild,v 1.6 2010/05/31 15:12:59 arfrever Exp $
inherit eutils python
@@ -82,9 +82,8 @@ src_install()
if use python ; then
# python installation
- python_version
- dodir /usr/$(get_libdir)/python${PYVER}/site-packages
- cat <<- EOF > ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/panda3d.pth
+ dodir $(python_get_sitedir)
+ cat <<- EOF > ${D}$(python_get_sitedir)/panda3d.pth
# This document sets up paths for python to access the
# panda3d modules
/opt/panda3d/built