2015-05-18 07:33:39 +00:00
|
|
|
# This hook overrides config.sub and config.guess.
|
2015-03-22 18:09:14 +00:00
|
|
|
|
|
|
|
hook() {
|
|
|
|
if [ -z "$build_style" -o "$build_style" = "gnu-configure" ]; then
|
|
|
|
for f in $(find ${wrksrc} -type f -name "*config*.sub"); do
|
|
|
|
cp -f ${XBPS_CROSSPFDIR}/config.sub ${f}
|
|
|
|
done
|
|
|
|
for f in $(find ${wrksrc} -type f -name "*config*.guess"); do
|
|
|
|
cp -f ${XBPS_CROSSPFDIR}/config.guess ${f}
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
}
|