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
This commit is contained in:
Sergei Trofimovich
2017-09-30 09:11:16 +00:00
parent d088642e89
commit b025a480e0

View File

@@ -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"