openbsd-ports/devel/ptlib/patches/patch-ptlib_m4

16 lines
637 B
Plaintext

$OpenBSD: patch-ptlib_m4,v 1.3 2012/06/21 14:23:51 ajacoutot Exp $
--- ptlib.m4.orig Thu Apr 26 06:47:48 2012
+++ ptlib.m4 Thu Jun 21 11:22:09 2012
@@ -368,7 +368,10 @@ AC_DEFUN([PTLIB_FIND_OPENLDAP],
dnl posix4 is required by libldap_r on Solaris
ptlib_openldap_libs="-lposix4"
;;
- * )
+ openbsd*)
+ ptlib_openldap_libs="-llber -lldap_r -pthread"
+ ;;
+ * )
ptlib_openldap_libs="-llber -lldap_r"
esac