Skip to content

Commit

Permalink
media-video/syncplay: fix library path in patch
Browse files Browse the repository at this point in the history
Closes: gentoo#2238

Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
Hummer12007 authored and SoapGentoo committed Sep 4, 2016
1 parent e381384 commit 26f72f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ index c52c09a..725e70e 100644
-mkdir -p $(BIN_PATH)
cp syncplayClient.py $(BIN_PATH)/syncplay
- sed -i -e 's%# libpath%site.addsitedir\("$(BASE_PATH)/lib/syncplay"\)%' $(BIN_PATH)/syncplay
+ sed -i -e 's%# libpath%site.addsitedir\("$(LIB_PATH)/syncplay"\)%' $(BIN_PATH)/syncplay
+ sed -i -e 's%# libpath%site.addsitedir\("${PREFIX}/lib/syncplay"\)%' $(BIN_PATH)/syncplay
chmod 755 $(BIN_PATH)/syncplay
cp syncplayClient.py $(LIB_PATH)/syncplay/
cp resources/syncplay.desktop $(APP_SHORTCUT_PATH)/
Expand All @@ -73,7 +73,7 @@ index c52c09a..725e70e 100644
-mkdir -p $(BIN_PATH)
cp syncplayServer.py $(BIN_PATH)/syncplay-server
- sed -i -e 's%# libpath%site.addsitedir\("$(BASE_PATH)/lib/syncplay"\)%' $(BIN_PATH)/syncplay-server
+ sed -i -e 's%# libpath%site.addsitedir\("$(LIB_PATH)/syncplay"\)%' $(BIN_PATH)/syncplay-server
+ sed -i -e 's%# libpath%site.addsitedir\("${PREFIX}/lib/syncplay"\)%' $(BIN_PATH)/syncplay-server
chmod 755 $(BIN_PATH)/syncplay-server
cp syncplayServer.py $(LIB_PATH)/syncplay/
cp resources/syncplay-server.desktop $(APP_SHORTCUT_PATH)/
Expand Down

0 comments on commit 26f72f6

Please sign in to comment.