sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*QScintilla-[0-9]\.[0-9]\(\.[0-9]\)\?/lib% \1${qscintilladir}%g" $l > $l"_"
chmod -f --reference=$l $l"_"
mv -f $l"_" $l
+
+ # 21. process expat-2.0.1 dependencies
+ expatdir=${EXPAT_ROOT}/lib
+ sed -e "s%-L[^[:space:]]*expat[^[:space:]]*/lib%-L${expatdir}%g" \
+ -e "s%[^[:space:]]*expat[^[:space:]]*/lib/libexpat.la%-lexpat%g" $l > $l"_"
+ chmod -f --reference=$l $l"_"
+ mv -f $l"_" $l
fi
done
libdir=`grep -e "^libdir=.*" $l | sed -e "s/^libdir=[\'|\"]\(.*\)[\'|\"]/\1/g"`
sed -e "s%${libdir}%${lpath}%g" $l > $l"_"
chmod -f --reference=$l $l"_" ; mv -f $l"_" $l
+
+ expatdir=${EXPAT_ROOT}/lib
+ sed -e "s%-L[^[:space:]]*expat[^[:space:]]*/lib%-L${expatdir}%g" \
+ -e "s%[^[:space:]]*expat[^[:space:]]*/lib/libexpat.la%-lexpat%g" $l > $l"_"
+ chmod -f --reference=$l $l"_"
+ mv -f $l"_" $l
+
fi
done