aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav-devel
diff options
context:
space:
mode:
Diffstat (limited to 'security/clamav-devel')
-rw-r--r--security/clamav-devel/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 3cb55ff82068..bfb38e60a431 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -52,6 +52,7 @@ CONFIGURE_ARGS= --with-dbdir=${DBDIR} \
--enable-bigstack \
--enable-readdir_r \
--disable-dependency-tracking \
+ --enable-gethostbyname_r \
--enable-experimental
CPPFLAGS+= -I${LOCALBASE}/include \
${PTHREAD_CFLAGS}
@@ -102,12 +103,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