mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
toolchain.eclass: don't strip EPREFIX in dosym
This reverts 'dosym' part of
"toolchain.eclass: Prepend/strip EPREFIX"
patch. portage-2.3.85 and above contains
"dosym: revert deprecated prefix compat (bug 615594)"
patch. That effectively breaks gcc's /usr/bin/ symlinks.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -1811,11 +1811,11 @@ toolchain_src_install() {
|
||||
if [[ -f ${CTARGET}-${x} ]] ; then
|
||||
if ! is_crosscompile ; then
|
||||
ln -sf ${CTARGET}-${x} ${x}
|
||||
dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
|
||||
dosym ${BINPATH}/${CTARGET}-${x} \
|
||||
/usr/bin/${x}-${GCC_CONFIG_VER}
|
||||
fi
|
||||
# Create versioned symlinks
|
||||
dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
|
||||
dosym ${BINPATH}/${CTARGET}-${x} \
|
||||
/usr/bin/${CTARGET}-${x}-${GCC_CONFIG_VER}
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user