openbsd-ports/www/cherokee/patches/patch-configure
ajacoutot abbe07858a Update to cherokee-1.0.14.
From Fernando Quintero (maintainer).
Several fixes/tweaks as well as the rc script added by myself.
2010-12-20 07:51:58 +00:00

40 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.9 2010/12/20 07:51:58 ajacoutot Exp $
--- configure.orig Mon Dec 13 14:49:57 2010
+++ configure Wed Dec 15 16:37:42 2010
@@ -17414,13 +17414,14 @@ $as_echo "no" >&6; }
esac
if test "$have_pthread" != "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
-$as_echo_n "checking for main in -lpthread... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -pthread" >&5
+$as_echo_n "checking for main in -pthread... " >&6; }
+
if ${ac_cv_lib_pthread_main+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -17451,7 +17452,7 @@ else
fi
if test "$have_pthread" = "yes"; then
- PTHREAD_LIBS="-lpthread"
+ PTHREAD_LIBS="-pthread"
fi
fi
@@ -21048,7 +21049,7 @@ if ${ac_cv_lib_avformat_main+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lavformat $LIBS"
+LIBS="-lavformat -pthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */