diff options
author | grant <grant@pkgsrc.org> | 2005-07-01 03:27:49 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-07-01 03:27:49 +0000 |
commit | 155480ba738d569f483b8a6716f5a2fc944aa4e0 (patch) | |
tree | a3c5af30f94e830632b8f763d9aff5b6d7b47fb1 /mail/clamav | |
parent | 1d554016dad81a35b8e969c7a10fedb91c0f5032 (diff) | |
download | pkgsrc-155480ba738d569f483b8a6716f5a2fc944aa4e0.tar.gz |
add DragonFly support.
from Joerg Sonnenberger.
Diffstat (limited to 'mail/clamav')
-rw-r--r-- | mail/clamav/distinfo | 3 | ||||
-rw-r--r-- | mail/clamav/patches/patch-ab | 43 |
2 files changed, 45 insertions, 1 deletions
diff --git a/mail/clamav/distinfo b/mail/clamav/distinfo index c61f22747a0..2a35669b116 100644 --- a/mail/clamav/distinfo +++ b/mail/clamav/distinfo @@ -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 --git a/mail/clamav/patches/patch-ab b/mail/clamav/patches/patch-ab new file mode 100644 index 00000000000..bc3f7accdac --- /dev/null +++ b/mail/clamav/patches/patch-ab @@ -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" |