mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
*/*: change rust project's hardcoded target/release path [3/4]
See the previous 2nd commit to see more info for the files changed in this commit, there wasn't any problem with how the path was being handled per se however, it was getting the path via ``` target/$(usex debug debug release) ``` but cargo_target_dir from cargo.eclass already exists. Hence, I changed it to this so the ebuilds in the tree are more consistent Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org> Part-of: https://codeberg.org/gentoo/guru/pulls/21 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
1 parent
0c16fe70e4
commit
cc7ba6a578
4 files changed
+4
-6
No files matched your search
@@ -59,7 +59,7 @@ src_install(){
|
||||
dobin "${T}/spotify-adblock"
|
||||
|
||||
# library
|
||||
newlib.so target/$(usex debug debug release)/libspotifyadblock.so ${PN}.so
|
||||
newlib.so "$(cargo_target_dir)/libspotifyadblock.so" "${PN}.so"
|
||||
|
||||
# config
|
||||
insinto "/etc/${PN}"
|
||||
|
||||
@@ -59,7 +59,7 @@ src_install(){
|
||||
dobin "${T}/spotify-adblock"
|
||||
|
||||
# library
|
||||
newlib.so target/$(usex debug debug release)/libspotifyadblock.so ${PN}.so
|
||||
newlib.so "$(cargo_target_dir)/libspotifyadblock.so" "${PN}.so"
|
||||
|
||||
# config
|
||||
insinto "/etc/${PN}"
|
||||
|
||||
@@ -63,7 +63,7 @@ src_install(){
|
||||
dobin "${T}/spotify-adblock"
|
||||
|
||||
# library
|
||||
newlib.so target/$(usex debug debug release)/libspotifyadblock.so ${PN}.so
|
||||
newlib.so "$(cargo_target_dir)/libspotifyadblock.so" "${PN}.so"
|
||||
|
||||
# config
|
||||
insinto "/etc/${PN}"
|
||||
|
||||
Reference in new issue
Block a user