binutils, gcc: use SRCPKGDESTDIR for usr/lib -> usr/lib64.

--HG--
extra : convert_revision : e666b63046f34f00c22efabf13ad3d373e230ccc
This commit is contained in:
Juan RP 2009-10-18 13:17:12 +02:00
parent 019022d4c1
commit fe3fa5fff4
2 changed files with 4 additions and 4 deletions

View file

@ -29,8 +29,8 @@ Add_dependency run glibc
pre_install()
{
if [ "$xbps_machine" = "x86_64" ]; then
mkdir -vp ${DESTDIR}/usr/lib
cd ${DESTDIR}/usr/lib && ln -sv lib lib64 && cd ${wrksrc}
mkdir -vp ${SRCPKGDESTDIR}/usr/lib
cd ${SRCPKGDESTDIR}/usr/lib && ln -sv lib lib64 && cd ${wrksrc}
fi
}

View file

@ -35,8 +35,8 @@ pre_configure()
pre_install()
{
if [ "$xbps_machine" = "x86_64" ]; then
mkdir -vp ${DESTDIR}/usr/lib
cd ${DESTDIR}/usr/lib && ln -sv lib lib64 && cd ${wrksrc}
mkdir -vp ${SRCPKGDESTDIR}/usr/lib
cd ${SRCPKGDESTDIR}/usr/lib && ln -sv lib lib64 && cd ${wrksrc}
fi
}