xbps.sh: remove $wrksrc/ltmain.sh before making the link.

--HG--
extra : convert_revision : 380e630bc66a54b08447bd0c636cec0c2cb93a08
This commit is contained in:
Juan RP 2008-10-15 02:19:31 +02:00
parent abb748cf1e
commit 9c31a76231

View file

@ -565,6 +565,7 @@ fixup_tmpl_libtool()
done done
if [ -f $wrksrc/ltmain.sh ]; then if [ -f $wrksrc/ltmain.sh ]; then
$rm_cmd -f $wrksrc/ltmain.sh
$ln_cmd -s $XBPS_MASTERDIR/share/libtool/config/ltmain.sh \ $ln_cmd -s $XBPS_MASTERDIR/share/libtool/config/ltmain.sh \
$wrksrc/ltmain.sh $wrksrc/ltmain.sh
fi fi