openbsd-ports/x11/kde/patches-3.5.7/patch-acinclude_m4

16 lines
440 B
Plaintext
Raw Normal View History

$OpenBSD: patch-acinclude_m4,v 1.1 2007/12/11 07:55:05 jakemsr Exp $
--- acinclude.m4.orig Fri Apr 6 06:23:11 2007
+++ acinclude.m4 Sun Oct 21 05:27:14 2007
@@ -4394,7 +4394,10 @@ AC_DEFUN([KDE_CHECK_LIBPTHREAD],
dnl Un-special-case for FreeBSD.
if test "x$LIBPTHREAD" = "xPTHREAD" ; then
- LIBPTHREAD=""
+ case $host_os in
+ openbsd*) LIBPTHREAD="-pthread" ;;
+ *) LIBPTHREAD="" ;;
+ esac
fi
AC_SUBST(LIBPTHREAD)