summaryrefslogtreecommitdiff
path: root/mail/clamav
diff options
context:
space:
mode:
Diffstat (limited to 'mail/clamav')
-rw-r--r--mail/clamav/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile
index 63fc7eaab9a..ecf82ee0d6f 100644
--- a/mail/clamav/Makefile
+++ b/mail/clamav/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2005/11/04 03:47:49 grant Exp $
+# $NetBSD: Makefile,v 1.48 2005/12/05 20:50:28 rillig Exp $
DISTNAME= clamav-${CLAMAV_VERSION}
PKGNAME= clamav-${CLAMAV_VERSION:S/-/./}
@@ -27,7 +27,7 @@ CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= CLAMAV_USER CLAMAV_GROUP
-FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER}
+FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER:Q}
MESSAGE_SUBST+= CLAMAV_USER=${CLAMAV_USER}
USE_PKGINSTALL= yes
@@ -39,7 +39,7 @@ PKG_USERS+= ${CLAMAV_USER}:${CLAMAV_GROUP}::Clamav\ User
VIRUSDBDIR= ${VARBASE}/clamav
EGDIR= ${PREFIX}/share/examples/clamav
-FILES_SUBST+= VIRUSDBDIR=${VIRUSDBDIR}
+FILES_SUBST+= VIRUSDBDIR=${VIRUSDBDIR:Q}
OWN_DIRS_PERMS= ${VIRUSDBDIR} ${CLAMAV_USER} ${CLAMAV_GROUP} 0775
CONF_FILES= # empty
@@ -51,7 +51,6 @@ CONF_FILES+= ${EGDIR}/${_file_} ${PKG_SYSCONFDIR}/${_file_}
CONF_FILES_PERMS+= ${EGDIR}/${_file_} ${VIRUSDBDIR}/${_file_} \
${CLAMAV_USER} ${CLAMAV_GROUP} 0664
.endfor
-.undef _file_
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} CFGINST=${EGDIR} DBINST=${EGDIR}