aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-01-25 01:04:37 +0800
committergarga <garga@FreeBSD.org>2008-01-25 01:04:37 +0800
commit476fbfb538e2c888558ad93d90e7e853a3c2fc33 (patch)
tree54ec3038cfd13c3fdaf6b2eec707bcc5db48dc16 /security
parenta59ed65407e6d79e208d77a27a21c0611c0ba17a (diff)
downloadfreebsd-ports-gnome-476fbfb538e2c888558ad93d90e7e853a3c2fc33.tar.gz
freebsd-ports-gnome-476fbfb538e2c888558ad93d90e7e853a3c2fc33.tar.zst
freebsd-ports-gnome-476fbfb538e2c888558ad93d90e7e853a3c2fc33.zip
- Add an OPTION ICONV to fix a problem that can be caused by auto detection.
No PORTREVISION bump necessary since it's off by default.
Diffstat (limited to 'security')
-rw-r--r--security/clamav/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 92632fe41c9e..447bd08cfe29 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -22,6 +22,7 @@ OPTIONS= ARC "Enable arch archives support" On \
UNRAR "Enable rar archives support" On \
MILTER "Compile the milter interface" Off \
LDAP "libmilter was built with LDAP" Off \
+ ICONV "Enable ICONV support" Off \
STDERR "Print logs to stderr instead of stdout" Off \
EXPERIMENTAL "Build experimental code" Off
@@ -126,6 +127,12 @@ PLIST_SUB+= UNRAR=""
PLIST_SUB+= UNRAR="@comment "
CONFIGURE_ARGS+= --disable-unrar
.endif
+.if defined(WITH_ICONV)
+CONFIGURE_ARGS+=--with-iconv
+USE_ICONV= yes
+.else
+CONFIGURE_ARGS+=--without-iconv
+.endif
.if defined(WITH_MILTER)
USE_RC_SUBR+= clamav-milter