freebsd-ports/textproc/aspell/files/patch-configure
Thierry Thomas dbfb1fb6d4 Upgrade to 0.60.6.
List of changes from 0.60.5:

   * Compile fixes for Gcc 4.3.

   * Minor tweak to suggestion code which improved suggestion results in
     certain cases.

   * Always line buffer stdout and stderr in the Aspell utility when
     there is the potential for it to be used interactively through a
     pipe.

   * Removed debug output in `aspell munch-list'.

   * Other minor updates and bug fixes.

   * Enable Unicode support.
2008-04-16 20:35:19 +00:00

42 lines
1.2 KiB
Text

--- configure.orig 2008-04-07 06:31:31.000000000 +0200
+++ configure 2008-04-16 20:55:32.000000000 +0200
@@ -3505,7 +3505,7 @@
fi
-if test "$GXX" = "yes" && expr "$CXXFLAGS" : '.*-O' > /dev/null
+if test "$GXX" = "yes" && expr -- "$CXXFLAGS" : '.*-O' > /dev/null
then
CXXFLAGS="$CXXFLAGS -fno-exceptions"
fi
@@ -8101,6 +8101,10 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ltmain"
+save_CC="$CC"
+CC="$CXX"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+CC="$save_CC"
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -18179,7 +18183,7 @@
CURSES_LIB=-lncurses
cat >>confdefs.h <<\_ACEOF
-#define CURSES_HEADER <ncurses/curses.h>
+#define CURSES_HEADER <ncurses/ncurses.h>
_ACEOF
else
@@ -18366,8 +18370,8 @@
if test "$enable_wide_curses" != "no"
then
- { echo "$as_me:$LINENO: checking for wide character support in curses libraray" >&5
-echo $ECHO_N "checking for wide character support in curses libraray... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: checking for wide character support in curses library" >&5
+echo $ECHO_N "checking for wide character support in curses library... $ECHO_C" >&6; }
if test -n "$have_mblen"
then
cat >conftest.$ac_ext <<_ACEOF