ncurses32: fix installed symlinks.
This commit is contained in:
parent
1b1ba68198
commit
477e3db64e
1 changed files with 1 additions and 15 deletions
|
@ -39,22 +39,8 @@ do_install()
|
||||||
|
|
||||||
vmkdir lib32
|
vmkdir lib32
|
||||||
vmkdir usr/lib32
|
vmkdir usr/lib32
|
||||||
|
|
||||||
vcopy "lib/*.so*" lib32
|
vcopy "lib/*.so*" lib32
|
||||||
vcopy "usr/lib/*.a" usr/lib32
|
vcopy "usr/lib/*.a" usr/lib32
|
||||||
vcopy "usr/lib/*.so*" usr/lib32
|
vcopy "usr/lib/*.so*" usr/lib32
|
||||||
mv ${DESTDIR}/usr/lib32/*.so.${version} ${DESTDIR}/lib32
|
ln -sf /lib32/libncursesw.so.6.0 ${DESTDIR}/usr/lib32/libncursesw.so
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/lib32/*.so*
|
|
||||||
|
|
||||||
# Remake the symlinks with proper path to /lib32.
|
|
||||||
for f in panel panelw form formw menu menuw ncurses ncursesw; do
|
|
||||||
ver=$version
|
|
||||||
if [ ! -f "${DESTDIR}/lib32/lib${f}.so.${version}" ]; then
|
|
||||||
ver="6.0"
|
|
||||||
fi
|
|
||||||
ln -sf /lib32/lib${f}.so.${ver} ${DESTDIR}/usr/lib32/lib${f}.so
|
|
||||||
ln -sf /lib32/lib${f}.so.${ver} \
|
|
||||||
${DESTDIR}/usr/lib32/lib${f}.so.${ver%.*}
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue