View | Details | Raw Unified | Return to bug 57057
Collapse All | Expand All

(-)clamav-devel/Makefile Sun Sep 21 17:03:31 2003 (+3 lines)
Lines 43-48 Link Here
43
# compiles only with optimizer
43
# compiles only with optimizer
44
CFLAGS+=       -O
44
CFLAGS+=       -O
45
LDFLAGS+=      -lcipher
45
LDFLAGS+=      -lcipher
46
.else
47
LIB_DEPENDS+=  pthread.10:${PORTSDIR}/devel/ngpt
48
EXTRA_PATCHES+=        ${FILESDIR}/pthread.diff
46
.endif
49
.endif
47
50
48
.if defined(WITH_MILTER)
51
.if defined(WITH_MILTER)
(-)clamav-devel/files/pthread.diff Sun Sep 21 15:48:50 2003 (+13 lines)
Line 0 Link Here
1
--- configure.orig     Fri Aug 29 05:54:57 2003
2
+++ configure  Sun Sep 21 15:40:39 2003
3
@@ -9089,8 +9089,8 @@
4
     ;;
5
 freebsd*)
6
     if test "$have_pthreads" = "yes"; then
7
-      LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread -lc_r"
8
-      CLAMD_LIBS="-pthread -lc_r"
9
+      LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lpthread -lc_r"
10
+      CLAMD_LIBS="-lpthread -lc_r"
11
       TH_SAFE="-thread-safe"
12
       cat >>confdefs.h <<\_ACEOF
13
 #define CL_THREAD_SAFE 1
(-)clamav-devel/pkg-plist Sun Sep 21 17:00:07 2003 (+2 lines)
Lines 11-16 Link Here
11
lib/libclamav.la
11
lib/libclamav.la
12
lib/libclamav.a
12
lib/libclamav.a
13
share/clamav/mirrors.txt
13
share/clamav/mirrors.txt
14
share/nls/POSIX
15
share/nls/en_US.US-ASCII
14
@exec chown clamav share/clamav share/clamav/mirrors.txt share/clamav/viruses.db share/clamav/viruses.db2
16
@exec chown clamav share/clamav share/clamav/mirrors.txt share/clamav/viruses.db share/clamav/viruses.db2
15
@dirrm share/clamav
17
@dirrm share/clamav
16
@unexec rmuser -y clamav
18
@unexec rmuser -y clamav

Return to bug 57057