1 |
commit: 5ffdcf8167705a92b0bf229d4dfb9a245f672fb3 |
2 |
Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 3 15:25:11 2017 +0000 |
4 |
Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 3 15:25:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffdcf81 |
7 |
|
8 |
sys-devel/parity: also create i586-pc-winnt-nm symlink |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
sys-devel/parity/parity-9999.ebuild | 15 ++++++++------- |
13 |
1 file changed, 8 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/sys-devel/parity/parity-9999.ebuild b/sys-devel/parity/parity-9999.ebuild |
16 |
index 6bcda9040dd..d6e19cd51a4 100644 |
17 |
--- a/sys-devel/parity/parity-9999.ebuild |
18 |
+++ b/sys-devel/parity/parity-9999.ebuild |
19 |
@@ -47,16 +47,17 @@ src_install() { |
20 |
[[ -f ${ED}usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe |
21 |
|
22 |
# create cross compiler syms, also for former versioned winnt profiles |
23 |
- local v |
24 |
+ local v t |
25 |
for v in "" 5.2 6.1; do |
26 |
- dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-gcc |
27 |
dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-c++ |
28 |
dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-g++ |
29 |
- dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt${v}-ld |
30 |
- dosym /usr/bin/parity.gnu.windres${exeext} /usr/bin/i586-pc-winnt${v}-windres |
31 |
- dosym /usr/bin/parity.gnu.ar /usr/bin/i586-pc-winnt${v}-ar |
32 |
- dosym /usr/bin/parity.gnu.ranlib /usr/bin/i586-pc-winnt${v}-ranlib |
33 |
- dosym /usr/bin/parity.gnu.strip /usr/bin/i586-pc-winnt${v}-strip |
34 |
+ for t in gcc ld windres ar nm ranlib strip; do |
35 |
+ if [[ -e "${ED}"usr/bin/parity.gnu.${t}${exeext} ]]; then |
36 |
+ dosym /usr/bin/parity.gnu.${t}${exeext} /usr/bin/i586-pc-winnt${v}-${t} |
37 |
+ else |
38 |
+ dosym /usr/bin/parity.gnu.${t} /usr/bin/i586-pc-winnt${v}-${t} |
39 |
+ fi |
40 |
+ done |
41 |
done |
42 |
|
43 |
# we don't need the header files installed by parity... private |