When the environment variable $CXXFLAGS is defined the following message is produced by ``configure'': checking for style of include used by make... GNU checking dependency style of c++... gcc3 expr: illegal option -- O usage: expr [-e] expression checking for gcc... cc checking whether we are using the GNU C compiler... yes This happens because the $CXXFLAGS starts with the character '-' and expr interprets it as it's own flags, not argument. Fix: Apply the following patch: -if test "$GXX" = "yes" && expr "$CXXFLAGS" : '.*-O' > /dev/null +if test "$GXX" = "yes" && expr -- "$CXXFLAGS" : '.*-O' > /dev/null then CXXFLAGS="$CXXFLAGS -fno-exceptions" fi--z2xvH4GI9MhLDIia93uJ1zTLDCNvBjwCfV1DZWqiN1B2BARP Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- configure.old Thu Sep 16 11:33:12 2004 +++ configure Thu Sep 16 11:35:04 2004 @@ -2902,7 +2902,7 @@ fi How-To-Repeat: cd /usr/ports/textproc/aspell make ASPELL_EN=YES
Responsible Changed From-To: freebsd-ports-bugs->thierry Over to maintainer
State Changed From-To: open->closed Committed, thanks!