openbsd-ports/www/cherokee/patches/patch-configure
ajacoutot 8caf12c9e2 Import cherokee-0.8.1
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Load balancing, Apache compatible log files, and much
more.

based on a submission from Fernando Quintero (MAINTAINER)
testing, feedback and ok sthen@
2008-09-05 11:19:48 +00:00

30 lines
926 B
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2008/09/05 11:19:48 ajacoutot Exp $
--- configure.orig Sat Aug 30 12:22:52 2008
+++ configure Sat Aug 30 12:23:02 2008
@@ -32557,13 +32557,13 @@ echo "${ECHO_T}no" >&6; }
esac
if test "$have_pthread" != "yes"; then
- { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
-echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: checking for main in -pthread" >&5
+echo $ECHO_N "checking for main in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_main+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
@@ -32619,7 +32619,7 @@ else
fi
if test "$have_pthread" = "yes"; then
- PTHREAD_LIBS="-lpthread"
+ PTHREAD_LIBS="-pthread"
fi
fi