diff options
author | Renato Botelho <garga@FreeBSD.org> | 2008-09-15 19:56:38 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2008-09-15 19:56:38 +0000 |
commit | 37c88c8e12ad9a0d6e9650fcf3fd6a9f952ee988 (patch) | |
tree | 81ded9fcdaddcfcae4d1d0762d9c2bb0bdce1692 /security/clamav/files | |
parent | f8478461222c738f5ae5a31d3f92d0ec7a2db333 (diff) |
Notes
Diffstat (limited to 'security/clamav/files')
-rw-r--r-- | security/clamav/files/patch-configure | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/security/clamav/files/patch-configure b/security/clamav/files/patch-configure index 42fbdcbea021..45424480bb1f 100644 --- a/security/clamav/files/patch-configure +++ b/security/clamav/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-09-01 15:41:18.000000000 -0300 ++++ configure 2008-09-05 08:57:53.000000000 -0300 +@@ -16571,7 +16571,7 @@ + ;; + freebsd*) + if test "$have_pthreads" = "yes"; then +- THREAD_LIBS="-lthr" ++ THREAD_LIBS="%%PTHREAD_LIBS%%" + TH_SAFE="-thread-safe" + + cat >>confdefs.h <<\_ACEOF +@@ -16931,7 +16931,7 @@ + if test "$have_milter" = "yes"; then + + save_LDFLAGS="$LDFLAGS" +- 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 +@@ -17468,19 +17468,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 |