commit: b025a480e0a931502773b7aa53834c75e1ec16e3
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 30 09:11:16 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 30 09:11:41 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b025a480
dev-python/pygame: tweak library search path for prefix
By default libraries are searched at /usr and /usr/local.
For prefix we need to add offset. Build system provides
LOCALBASE to override defaults.
Package-Manager: Portage-2.3.10, Repoman-2.3.3
dev-python/pygame/pygame-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/pygame/pygame-1.9.3.ebuild
b/dev-python/pygame/pygame-1.9.3.ebuild
index cd5528c950c..1aa3419789e 100644
--- a/dev-python/pygame/pygame-1.9.3.ebuild
+++ b/dev-python/pygame/pygame-1.9.3.ebuild
@@ -31,7 +31,7 @@ DOCS=( WHATSNEW )
RESTRICT=test
python_configure() {
- PORTMIDI_INC_PORTTIME=1 "${EPYTHON}" config.py -auto
+ PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" "${EPYTHON}"
config.py -auto
if ! use X; then
sed -e "s:^scrap :#&:" -i Setup || die "sed failed"