aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/amavisd-new/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index a9eecb25b3e9..d1d88e69cdf5 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -56,7 +56,9 @@ OPTIONS= MYSQL "MySQL support" off \
PGSQL "PgSQL support" off \
LDAP "LDAP support" off
-.if !exists(/usr/lib/libmilter.so) && !exists(${PREFIX}/lib/libmilter.so)
+.include <bsd.port.pre.mk>
+
+.if !exists(/usr/lib/libmilter.a) && !exists(${PREFIX}/lib/libmilter.a)
AMAVIS_NOMILTER="@comment "
.endif
@@ -80,8 +82,6 @@ SED_SCRIPT= -e 's,%%AMAVISUSER%%,${AMAVISUSER},g' \
-e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%RC_SUBR%%,${RC_SUBR},g'
-.include <bsd.port.pre.mk>
-
.if defined(WITH_MYSQL)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.endif