porting: Linux to Freebsd
Robert Huff
roberthuff at rcn.com
Mon Jun 8 15:33:31 UTC 2009
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.
Robert Huff
More information about the freebsd-ports
mailing list