aboutsummaryrefslogtreecommitdiff
path: root/security/clamav
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-06-09 23:51:16 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-06-09 23:51:16 +0000
commite4e0822bc9a12623298512990409b21958cc1152 (patch)
tree071afd0df3de10ede50114f54170a1c3a7b56675 /security/clamav
parentbc7774eedba1cb12713cbf5a72180022959c10f5 (diff)
Notes
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 73793167ee02..0af57b9282a7 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -47,6 +47,7 @@ CONFIGURE_ARGS= --with-dbdir=${DBDIR} \
--disable-clamav \
--enable-bigstack \
--enable-readdir_r \
+ --enable-gethostbyname_r \
--disable-dependency-tracking
CPPFLAGS+= -I${LOCALBASE}/include \
${PTHREAD_CFLAGS}
@@ -97,12 +98,6 @@ PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 601103
-CONFIGURE_ARGS+= --disable-gethostbyname_r
-.else
-CONFIGURE_ARGS+= --enable-gethostbyname_r
-.endif
-
# This port has a problem with -pthread,
# force to use -lthr until it's not fixed.
.if ${OSVERSION} >= 601000