Remove -lpthread patch.

This commit is contained in:
ajacoutot 2012-08-19 15:50:25 +00:00
parent ae7690b0b4
commit 511858ba86
2 changed files with 4 additions and 21 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.133 2012/08/06 17:48:35 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.134 2012/08/19 15:50:25 ajacoutot Exp $
COMMENT-main= MS Exchange groupware suite replacement
COMMENT-web= zarafa webaccess frontend and MAPI extensions for PHP
@ -7,8 +7,8 @@ PKGNAME= zarafa-${V}
PKGNAME-main= zarafa-${V}
PKGNAME-web= zarafa-webaccess-${V}
REVISION-main= 4
REVISION-web= 1
REVISION-main= 5
REVISION-web= 2
CATEGORIES= mail www productivity

View File

@ -1,26 +1,9 @@
$OpenBSD: patch-configure,v 1.23 2012/07/09 15:27:30 ajacoutot Exp $
$OpenBSD: patch-configure,v 1.24 2012/08/19 15:50:25 ajacoutot Exp $
OpenBSD does NOT require -lcrypt, DES encryption is part of the standard libc.
--- configure.orig Thu May 3 11:28:37 2012
+++ configure Sat May 5 17:39:39 2012
@@ -21942,13 +21942,13 @@ fi
# Everything uses pthread
# check lib, but do not set in link list, but use -pthread instead (gnu c/c++ only?)
-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -24574,7 +24574,7 @@ if test "${ac_cv_lib_intl_strftime+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else