freebsd-ports/www/c-icap/files/patch-configure.in
Sergey Matveychuk 8f469595ae - Update to 030606rc1
Contains fixes for a bug which causes segmentation fault
  to the c-icap server

PR:		ports/98903
Submitted by:	maintainer
2006-06-15 11:18:56 +00:00

29 lines
1.1 KiB
Text

--- configure.in.bak Mon Jun 12 22:19:56 2006
+++ configure.in Thu Jun 15 15:35:07 2006
@@ -51,7 +51,7 @@
THREADS_LDADD="-lpthread"
THREADS_LDFLAGS=""
;;
- freebsd5.*)
+ freebsd4.*)
## If I understand how all those threading models works correctly
## in FreeBSD I will make an option in configure script
## --with-freebsd-threads={c_r,pthreads,linuxthreads,thr}
@@ -64,9 +64,9 @@
# THREADS_LDADD="-llthread -lgcc_r"
# THREADS_LDFLAGS="-L/usr/local/lib"
-## FreeBSD Standard threads
+## FreeBSD 4.x Standard threads
CFLAGS="-pthread -D_THREAD_SAFE $CFLAGS"
- THREADS_LDADD="-XCClinker -lc_r"
+ THREADS_LDADD="-lc_r"
THREADS_LDFLAGS=""
## 1:1 threads
@@ -328,4 +328,4 @@
AM_CONDITIONAL(USEPERL,[test a"$perlcore" != a])
AM_CONDITIONAL(USECLAMAV,[test a"$clamav" != ano])
-AC_OUTPUT([Makefile c-icap.conf services/Makefile services/echo/Makefile services/url_check/Makefile services/clamav/Makefile modules/Makefile])
+AC_OUTPUT([Makefile c-icap.conf.default services/Makefile services/echo/Makefile services/sguard/Makefile services/clamav/Makefile modules/Makefile])