porting: Linux to Freebsd

Peter Jeremy peterjeremy at optushome.com.au
Mon Jun 8 19:15:45 UTC 2009


On 2009-Jun-08 11:33:27 -0400, Robert Huff <roberthuff at rcn.com> wrote:
>Alexander Leidinger writes:
>>  > 	Right: I re-ran under bash, and got the same problems.
>>  > 	Looking at configure.ac, I see:
>>  >
>>  > AC_PATH_PROG(YACC,byacc,no)
>>  > if test "x$YACC" == "xno"
>>  
>>  This should be a "=", not a "==".
>
>	Same result.
>
>>  > 	Relevant bit is:
>>  >
>>  > for ac_remove_CFLAG in "-O1" "-O2" "-O3" ; do
>>  > 	CFLAGS=${CFLAGS//${ac_remove_CFLAG}/}
>>  > 	CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/}
>>  > 	CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/}
>>  > done
>>  
>>  Quick try:
>>  CFLAGS=`echo $CFLAGS | sed -e 's:-O[123]::g'`
>
>	No change here either.

Obvious question but if you edited configure.ac, you did remember to
rerun autoconf afterwards didn't you?  Can you post the configure
script?

Note that your problems with configure do not surprise me.  Despite
claims otherwise, it appears to have been designed (using the word
very loosely) as a tool to impede application portability.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090608/2d0d0d46/attachment.pgp


More information about the freebsd-ports mailing list