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