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 | 40429dd3655009d78600f53070bff4a84d92f36f (patch) | |
tree | a3c5af30f94e830632b8f763d9aff5b6d7b47fb1 | |
parent | 7962aa7c12c28c9c08c7d7d4c22795c31cb1941d (diff) | |
download | pkgsrc-40429dd3655009d78600f53070bff4a84d92f36f.tar.gz |
add DragonFly support.
from Joerg Sonnenberger.
-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" |