chroot-gcc: avoid lib64 on x86_64.

This commit is contained in:
Juan RP 2014-01-18 13:32:29 +01:00
parent 364a2158a4
commit 5145a5c243

View file

@ -7,7 +7,7 @@ _mpc_ver=0.8.2
pkgname=chroot-gcc
version=${_majorver}.3
revision=6
revision=7
wrksrc="gcc-${version}"
homepage="http://gcc.gnu.org"
short_desc="The GNU C Compiler suite -- for xbps-src use"
@ -180,6 +180,11 @@ do_install() {
cd gcc-build
make DESTDIR=${DESTDIR} install
if [ -d ${DESTDIR}/usr/lib64 ]; then
mv ${DESTDIR}/usr/lib64/* ${DESTDIR}/usr/lib/
rmdir ${DESTDIR}/usr/lib
fi
# Make version a symlink of major version to make all versions
# from the same series work automagically.
mv ${DESTDIR}/usr/lib/gcc/${_triplet}/${version} \