Lines 30-38
Link Here
|
30 |
USE_LDCONFIG= yes |
30 |
USE_LDCONFIG= yes |
31 |
USE_RC_SUBR= clamav-clamd clamav-freshclam |
31 |
USE_RC_SUBR= clamav-clamd clamav-freshclam |
32 |
|
32 |
|
|
|
33 |
.include <bsd.port.pre.mk> |
34 |
|
35 |
.if ${OSVERSION} >= 500000 |
33 |
# This port has a problem with -pthread, |
36 |
# This port has a problem with -pthread, |
34 |
# force to use -lthr until it's not fixed. |
37 |
# force to use -lthr until it's not fixed. |
35 |
PTHREAD_LIBS= -lthr |
38 |
PTHREAD_LIBS= -lthr |
|
|
39 |
.endif |
40 |
|
36 |
|
41 |
|
37 |
PORTDOCS= * |
42 |
PORTDOCS= * |
38 |
|
43 |
|
Lines 99-106
Link Here
|
99 |
|
104 |
|
100 |
PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \ |
105 |
PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \ |
101 |
CLAMAVGROUP=${CLAMAVGROUP} |
106 |
CLAMAVGROUP=${CLAMAVGROUP} |
102 |
|
|
|
103 |
.include <bsd.port.pre.mk> |
104 |
|
107 |
|
105 |
.if ${OSVERSION} == 502010 |
108 |
.if ${OSVERSION} == 502010 |
106 |
PTHREAD_LIBS= -pthread |
109 |
PTHREAD_LIBS= -pthread |