Andrea Riciputi wrote:
[]
params="--prefix=/sw --infodir='${prefix}/share/info' --enable-cxx
--enable-mpfr"
case "powerpc" in
i386) params="$params --host=none-apple-darwin" ;;
esac
eval ./configure $params
./configure --prefix=/sw --infodir='/share/info' --enable-cxx --
enable-mpfr
The problem is not with the ConfigureParams line, but with this "eval
./configure $params" line which does not work.
It would be much simpler and clearer to replace the lines that gave the
above by
case "%m" in
i386) ./configure %c --host=none-apple-darwin ;;
powerpc) ./configure %c ;;
esac
instead of trying to do string operations in sh.
[]
As a last note, using grep I've noticed that a lot of .info files use
the ${prefix} variable. It should be worth checking if they behave
correctly or not. In the former case it should be interesting to
understand why only this install script fails.
None of them uses this broken "eval" trick.
--
Martin
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users