openbsd-ports/x11/kde/patches-3.5.7/patch-acinclude_m4
2011-07-06 15:01:13 +00:00

16 lines
439 B
Plaintext

$OpenBSD: patch-acinclude_m4,v 1.2 2011/07/06 15:01:13 dcoppa Exp $
--- acinclude.m4.orig Wed Aug 20 18:00:01 2008
+++ acinclude.m4 Wed Jul 6 16:58:17 2011
@@ -4419,7 +4419,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)