31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
$OpenBSD: patch-configure,v 1.5 2008/08/19 22:28:12 jasper Exp $
|
|
--- configure.orig Mon Oct 15 14:40:11 2007
|
|
+++ configure Mon Aug 4 11:15:10 2008
|
|
@@ -22593,7 +22593,7 @@ if test "x$with_aspell_prefix" != "x"; then
|
|
else
|
|
LDFLAGS="-L`aspell config prefix`/lib "$LDFLAGS
|
|
ASPELL_INC="-I`aspell config prefix`/include"
|
|
- ASPELL_LIBS="-L`aspell config prefix`/lib -laspell"
|
|
+ ASPELL_LIBS="-L`aspell config prefix`/lib -laspell -lstdc++ -lm"
|
|
ASPELL_DICT="`aspell config dict-dir`"
|
|
fi
|
|
|
|
@@ -22603,7 +22603,7 @@ if test "${ac_cv_lib_aspell_new_aspell_config+set}" =
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-laspell $LIBS"
|
|
+LIBS="-laspell -lstdc++ -lm $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -22663,7 +22663,7 @@ if test $ac_cv_lib_aspell_new_aspell_config = yes; the
|
|
#define HAVE_LIBASPELL 1
|
|
_ACEOF
|
|
|
|
- LIBS="-laspell $LIBS"
|
|
+ LIBS="-laspell -lstdc++ -lm $LIBS"
|
|
|
|
else
|
|
{ { echo "$as_me:$LINENO: error: gnome-spell cannot be built without aspell library" >&5
|