openbsd-ports/x11/kde/patches-3.5.7/patch-acinclude_m4
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

16 lines
440 B
Plaintext

$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)