diff options
author | joerg <joerg> | 2006-12-18 11:35:37 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-12-18 11:35:37 +0000 |
commit | 793fa5bf2680b247ea63826b1614e8363822006d (patch) | |
tree | fbc22957faa56cd57377ca0ce7e6deb6bed354f7 /www/varnish/patches/patch-aa | |
parent | 8aeb83f288e7d663057295249fa974f233cc744b (diff) | |
download | pkgsrc-793fa5bf2680b247ea63826b1614e8363822006d.tar.gz |
Fix pthread detection and build on DragonFly.
Diffstat (limited to 'www/varnish/patches/patch-aa')
-rw-r--r-- | www/varnish/patches/patch-aa | 16 |
1 files changed, 12 insertions, 4 deletions
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]) |