aboutsummaryrefslogtreecommitdiff
path: root/security/clamav-devel/files
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-10-16 16:20:12 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-10-16 16:20:12 +0000
commit8d13422984456bcad666331317ce80d913729a12 (patch)
tree9d0326c5ad7f3fa50982e12e0847172a0a9573f2 /security/clamav-devel/files
parent95a0742ee3f4c63d2ce4fec99a23a32a254c3dc8 (diff)
Notes
Diffstat (limited to 'security/clamav-devel/files')
-rw-r--r--security/clamav-devel/files/patch-configure44
1 files changed, 22 insertions, 22 deletions
diff --git a/security/clamav-devel/files/patch-configure b/security/clamav-devel/files/patch-configure
index 42fbdcbea021..17be13d43fa2 100644
--- a/security/clamav-devel/files/patch-configure
+++ b/security/clamav-devel/files/patch-configure
@@ -1,6 +1,24 @@
---- configure.orig Thu Mar 1 20:46:19 2007
-+++ configure Tue Mar 13 10:28:27 2007
-@@ -22431,19 +22431,25 @@
+--- configure.orig 2008-10-15 07:41:31.000000000 -0300
++++ configure 2008-10-15 08:55:58.000000000 -0300
+@@ -17909,7 +17909,7 @@
+ ;;
+ freebsd*)
+ if test "$have_pthreads" = "yes"; then
+- THREAD_LIBS="-lthr"
++ THREAD_LIBS="%%PTHREAD_LIBS%%"
+ TH_SAFE="-thread-safe"
+
+ cat >>confdefs.h <<\_ACEOF
+@@ -18269,7 +18269,7 @@
+ if test "$have_milter" = "yes"; then
+
+ save_LIBS="$LIBS"
+- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
++ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $THREAD_LIBS"
+ if test -d /usr/lib/libmilter ; then
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
+ fi
+@@ -18806,19 +18806,25 @@
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
@@ -25,22 +43,4 @@
+fi
fi
- fi
-@@ -23087,7 +23093,7 @@
- ;;
- freebsd*)
- if test "$have_pthreads" = "yes"; then
-- THREAD_LIBS="-pthread -lc_r"
-+ THREAD_LIBS="%%PTHREAD_LIBS%%"
- TH_SAFE="-thread-safe"
-
- cat >>confdefs.h <<\_ACEOF
-@@ -23427,7 +23433,7 @@
- if test "$have_milter" = "yes"; then
-
- save_LDFLAGS="$LDFLAGS"
-- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
-+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%"
- if test -d /usr/lib/libmilter ; then
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
- fi
+ if test "x$ac_cv_have_lresolv_r" != "xyes"; then