summaryrefslogtreecommitdiff
path: root/security/clamav
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2007-03-05 11:32:06 +0000
committerRenato Botelho <garga@FreeBSD.org>2007-03-05 11:32:06 +0000
commit35df6e4e45c3264aa2c778166bd240b9b29466d6 (patch)
tree2ced04b9d84852bf6d37136ee2aebad4774f1d8b /security/clamav
parent- Update to version 0.4.1. (diff)
Fix pthread lib for clamav-milter
PR: ports/109792 Submitted by: Eugene Grosbein <eugen@kuzbass.ru>
Notes
Notes: svn path=/head/; revision=186571
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/files/patch-configure11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/clamav/files/patch-configure b/security/clamav/files/patch-configure
index 71208b2c4cb1..6d2d837a7407 100644
--- a/security/clamav/files/patch-configure
+++ b/security/clamav/files/patch-configure
@@ -1,5 +1,5 @@
--- configure.orig Mon Feb 12 23:11:56 2007
-+++ configure Thu Mar 1 13:00:28 2007
++++ configure Mon Mar 5 08:25:35 2007
@@ -22426,19 +22426,25 @@
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
@@ -35,3 +35,12 @@
TH_SAFE="-thread-safe"
cat >>confdefs.h <<\_ACEOF
+@@ -23395,7 +23401,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