aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-03-05 19:32:06 +0800
committergarga <garga@FreeBSD.org>2007-03-05 19:32:06 +0800
commit44766eda587d85c02162764447ef12d07074a167 (patch)
treeb2873f6ba65b563247bb017c790ec68d2560e5ed /security
parent9cd621a6b13dd5289af34238202b65752178c82f (diff)
downloadfreebsd-ports-gnome-44766eda587d85c02162764447ef12d07074a167.tar.gz
freebsd-ports-gnome-44766eda587d85c02162764447ef12d07074a167.tar.zst
freebsd-ports-gnome-44766eda587d85c02162764447ef12d07074a167.zip
Fix pthread lib for clamav-milter
PR: ports/109792 Submitted by: Eugene Grosbein <eugen@kuzbass.ru>
Diffstat (limited to 'security')
-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