If exists $wrksrc/ltmain.sh make libtool available.

--HG--
extra : convert_revision : bacfefa0436ac6c61f7958ac5a81f67b0ce0ea72
This commit is contained in:
Juan RP 2008-10-16 06:31:40 +02:00
parent 8729d8de2b
commit 289b8130a2

View file

@ -561,6 +561,11 @@ fixup_tmpl_libtool()
# we use the master directory while relinking, all will be fine
# once the package is stowned.
#
if [ -f $wrksrc/ltmain.sh ]; then
$rm_cmd -f $wrksrc/libtool
$ln_cmd -s $XBPS_MASTERDIR/bin/libtool $wrksrc/libtool
fi
for f in $($find_cmd $wrksrc -type f -name libtool\*); do
if [ -f $f ]; then
$rm_cmd -f $f