aboutsummaryrefslogtreecommitdiffstats
path: root/security/amavisd-new/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/amavisd-new/Makefile')
-rw-r--r--security/amavisd-new/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 0e3ca7509401..30fae139b723 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -43,6 +43,7 @@ AMAVISUSER?= vscan
AMAVISGROUP?= vscan
AMAVISDIR?= /var/amavis
AMAVISQUARANTINE?= /var/virusmails
+DAEMON?= /usr/sbin/daemon -p
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.p.+//}
@@ -85,12 +86,6 @@ PLIST_SUB+= AMAVIS_NOAMAVIS=${AMAVIS_NOAMAVIS} \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-DAEMON=/usr/sbin/daemon
-.else
-DAEMON=/usr/sbin/daemon -p
-.endif
-
USE_RC_SUBR+= amavisd.sh
.if !defined(WITH_MILTER) || (!exists(/usr/lib/libmilter.a) && !exists(${PREFIX}/lib/libmilter.a))