openbsd-ports/x11/kde/libs3/patches/patch-configure_in
jakemsr 41cd1c99bd use -pthread instead of -lpthread for pthreads linkage
fix some WANTLIB/LIB_DEPENDS in akode and amarok while here

bulk build tested by steven@, "go ahead" espie@ a while ago
2007-12-11 07:55:05 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.30 2007/12/11 07:55:05 jakemsr Exp $
--- configure.in.orig Thu May 17 00:09:47 2007
+++ configure.in Sun Oct 21 13:56:57 2007
@@ -1145,7 +1145,7 @@ if test "$ac_use_cups" = "yes"; then
else
AC_MSG_RESULT(cups-config not found, using default libraries: $kde_cups_libs. You should consider upgrading CUPS)
fi
- KDE_CHECK_LIB(cups,cupsServer,[ac_cups_libs=1],[ac_cups_libs=0],[$LIBDL $LIBSOCKET])
+ KDE_CHECK_LIB(cups,cupsServer,[ac_cups_libs=1],[ac_cups_libs=0],[$kde_cups_libs $LIBDL $LIBSOCKET])
if test "$ac_cups_libs" = "0"; then
AC_MSG_WARN(CUPS library not found. CUPS support disabled)
ac_use_cups="no"
@@ -2009,7 +2009,7 @@ dnl ==================================================
AC_LANG_SAVE
AC_LANG_C
dnl Check for aspell library
- KDE_CHECK_LIB(aspell, new_aspell_config, [LIBASPELL="-laspell"])
+ KDE_CHECK_LIB(aspell, new_aspell_config, [LIBASPELL="-laspell"],, -lstdc++ -lm)
KDE_CHECK_HEADER(aspell.h)
if test -z "$ac_cv_header_aspell_h"; then
echo ""