The files/1.5.2/libtool-1.5-filter-host-tags.patch and files/1.5.5/libtool-1.5-filter-host-tags.patch contain a line like this: trimedcc="${CC/${host}-}" That is totally invalid for other platforms that don't use BASH as their default shell (this fails on FreeBSD in particular). Please modify it to use trimmedcc=`echo ${CC} | $SED -e "s/${host}-//g"` instead. To describe the situation, if you run autoconf/automake/libtoolize on a package for distribution, and an end-user downloads it to compile and install, the compilation will fail with something like this: ./libtool: 586: Syntax error: Bad substitution gmake[1]: *** [libmonetra_cdparsing.lo] Error 1 gmake[1]: Leaving directory `/data/crypt/jedgar/ports/libmcve/work/libmonetra-4.2.2' gmake: *** [all] Error 2 *** Error code 2 -Brad
note that should be trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"` I typed to many m's in the patches spelling of 'trimed'. -Brad
that code really doesnt matter, it's a fall back routine that's rarely reached (and in fact, never reached if you use up-to-date automake)
Well, it was reached on FreeBSD, and it was totally autotooled on a 100% up-to-date Gentoo ~x86 box. Anyhow, a basism shouldn't exist there, so please fix if possible. brad@brad ~ $ autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. brad@brad ~ $ automake --version automake (GNU automake) 1.9.3 Written by Tom Tromey <tromey@redhat.com>. brad@brad ~ $ libtool --version ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.131 2004/09/19 12:46:56)
i wasnt implying i wasnt going to fix it, just that it shouldnt be a big deal fixed in cvs