openbsd-ports/textproc/gnome-spell/patches/patch-configure
2005-05-25 18:21:57 +00:00

30 lines
956 B
Plaintext

--- configure.orig Mon Jan 24 10:23:47 2005
+++ configure Thu Apr 7 07:40:54 2005
@@ -21788,7 +21788,7 @@ if test "x$with_aspell_prefix" != "x"; t
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
@@ -21798,7 +21798,7 @@ if test "${ac_cv_lib_aspell_new_aspell_c
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
@@ -21861,7 +21861,7 @@ if test $ac_cv_lib_aspell_new_aspell_con
#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