summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2017-05-03 17:25:11 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2017-05-03 17:25:46 +0200
commit5ffdcf8167705a92b0bf229d4dfb9a245f672fb3 (patch)
tree6e25d45c2676d723bc2219b3ed538e59b8ef3be3 /sys-devel/parity
parentsys-fs/cryptsetup: Added python-3.6 support. (diff)
downloadgentoo-5ffdcf8167705a92b0bf229d4dfb9a245f672fb3.tar.gz
gentoo-5ffdcf8167705a92b0bf229d4dfb9a245f672fb3.tar.bz2
gentoo-5ffdcf8167705a92b0bf229d4dfb9a245f672fb3.zip
sys-devel/parity: also create i586-pc-winnt-nm symlink
Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-devel/parity')
-rw-r--r--sys-devel/parity/parity-9999.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys-devel/parity/parity-9999.ebuild b/sys-devel/parity/parity-9999.ebuild
index 6bcda9040dd4..d6e19cd51a49 100644
--- a/sys-devel/parity/parity-9999.ebuild
+++ b/sys-devel/parity/parity-9999.ebuild
@@ -47,16 +47,17 @@ src_install() {
[[ -f ${ED}usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe
# create cross compiler syms, also for former versioned winnt profiles
- local v
+ local v t
for v in "" 5.2 6.1; do
- dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-gcc
dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-c++
dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-g++
- dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt${v}-ld
- dosym /usr/bin/parity.gnu.windres${exeext} /usr/bin/i586-pc-winnt${v}-windres
- dosym /usr/bin/parity.gnu.ar /usr/bin/i586-pc-winnt${v}-ar
- dosym /usr/bin/parity.gnu.ranlib /usr/bin/i586-pc-winnt${v}-ranlib
- dosym /usr/bin/parity.gnu.strip /usr/bin/i586-pc-winnt${v}-strip
+ for t in gcc ld windres ar nm ranlib strip; do
+ if [[ -e "${ED}"usr/bin/parity.gnu.${t}${exeext} ]]; then
+ dosym /usr/bin/parity.gnu.${t}${exeext} /usr/bin/i586-pc-winnt${v}-${t}
+ else
+ dosym /usr/bin/parity.gnu.${t} /usr/bin/i586-pc-winnt${v}-${t}
+ fi
+ done
done
# we don't need the header files installed by parity... private