pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/clamav add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63489476481f
branches:  trunk
changeset: 496508:63489476481f
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Jul 01 03:27:49 2005 +0000

description:
add DragonFly support.

from Joerg Sonnenberger.

diffstat:

 mail/clamav/distinfo         |   3 ++-
 mail/clamav/patches/patch-ab |  43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletions(-)

diffs (62 lines):

diff -r 68b83e74277a -r 63489476481f mail/clamav/distinfo
--- a/mail/clamav/distinfo      Fri Jul 01 01:35:10 2005 +0000
+++ b/mail/clamav/distinfo      Fri Jul 01 03:27:49 2005 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.27 2005/06/24 05:58:42 grant Exp $
+$NetBSD: distinfo,v 1.28 2005/07/01 03:27:49 grant Exp $
 
 SHA1 (clamav-0.86.1.tar.gz) = a534111f09bfc1ba91479f6004c45b5ebb834ba1
 RMD160 (clamav-0.86.1.tar.gz) = 2f82b329eaa1aa9bfc3ae1c39624ba873f0a82d9
 Size (clamav-0.86.1.tar.gz) = 4016724 bytes
 SHA1 (patch-aa) = 17c713c3b5833f895b7caa470ae31f3d45d60643
+SHA1 (patch-ab) = afe9915e3fbed6c8dee93101149206a9b2f5c13c
 SHA1 (patch-ad) = 3723ad7212f15ba4e2690127515bfb1f37b97f71
 SHA1 (patch-af) = 605728b133ddb95827285d06bfeec9400222f874
 SHA1 (patch-ah) = ab0bb5ccef06ad4fc37cc0210f939c00a9a2e052
diff -r 68b83e74277a -r 63489476481f mail/clamav/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/clamav/patches/patch-ab      Fri Jul 01 03:27:49 2005 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-ab,v 1.8 2005/07/01 03:27:49 grant Exp $
+
+--- configure.orig     2005-07-01 13:22:45.000000000 +1000
++++ configure
+@@ -11818,6 +11818,38 @@ _ACEOF
+ 
+     use_gethostbyname_r="no"
+     ;;
++
++dragonfly*)
++    if test "$have_pthreads" = "yes"; then
++      LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread"
++      CLAMD_LIBS="$CLAMD_LIBS -pthread"
++      CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread"
++      TH_SAFE="-thread-safe"
++
++cat >>confdefs.h <<\_ACEOF
++#define CL_THREAD_SAFE 1
++_ACEOF
++
++
++cat >>confdefs.h <<\_ACEOF
++#define _REENTRANT 1
++_ACEOF
++
++      if test "$want_clamuko" = "yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define CLAMUKO 1
++_ACEOF
++
++      fi
++    fi
++
++cat >>confdefs.h <<\_ACEOF
++#define C_BSD 1
++_ACEOF
++
++    disable_gethostbyname_r="yes"
++    ;;
+ openbsd*)
+     if test "$have_pthreads" = "yes"; then
+       LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread"



Home | Main Index | Thread Index | Old Index