From 793fa5bf2680b247ea63826b1614e8363822006d Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 18 Dec 2006 11:35:37 +0000 Subject: Fix pthread detection and build on DragonFly. --- www/varnish/patches/patch-aa | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'www/varnish/patches/patch-aa') diff --git a/www/varnish/patches/patch-aa b/www/varnish/patches/patch-aa index 3e507f0c22b..1c99f90d22a 100644 --- a/www/varnish/patches/patch-aa +++ b/www/varnish/patches/patch-aa @@ -1,8 +1,16 @@ -$NetBSD: patch-aa,v 1.1.1.1 2006/12/04 16:04:54 xtraeme Exp $ +$NetBSD: patch-aa,v 1.2 2006/12/18 11:35:37 joerg Exp $ ---- configure.ac.orig 2006-11-07 13:38:11.000000000 +0100 -+++ configure.ac 2006-12-04 16:54:54.000000000 +0100 -@@ -45,6 +45,7 @@ +--- configure.ac.orig 2006-11-07 12:38:11.000000000 +0000 ++++ configure.ac +@@ -38,13 +38,14 @@ AC_PROG_MAKE_SET + AC_CHECK_LIB(rt, clock_gettime) + AC_CHECK_LIB(dl, dlopen) + #AC_SEARCH_LIBS(initscr, [curses ncurses]) +-AC_SEARCH_LIBS(pthread_create, [thr pthread c_r]) ++LIBS="${LIBS} ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" + + # Checks for header files. + AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_HEADER_TIME AC_CHECK_HEADERS([sys/socket.h]) -- cgit v1.2.3