chroot-gcc: fix wrong symlink.

This commit is contained in:
Juan RP 2012-07-10 18:38:28 +02:00
parent 6ae0a0671c
commit e5e4a20f1e

View file

@ -5,7 +5,7 @@ _gmp_ver=5.0.3
_mpfr_ver=3.1.1
_mpc_ver=0.8.2
version=${_majorver}.1
revision=2
revision=3
wrksrc="gcc-${version}"
homepage="http://gcc.gnu.org"
short_desc="The GNU C Compiler suite -- for xbps-src use"
@ -94,7 +94,7 @@ do_install() {
# cc symlink.
cd ${DESTDIR}/usr/bin && ln -sf gcc cc
# rpcgen wants /lib/cpp, make a symlink
cd ${DESTDIR}/usr/bin && ln -sf cpp ../lib/cpp
cd ${DESTDIR}/usr/lib && ln -sf ../bin/cpp .
rm -f ${DESTDIR}/usr/lib64