aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-06-05 15:49:16 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-06-05 15:49:16 +0000
commit66492abc86472ad04542ffd955bc0e9b31124212 (patch)
tree1707c4853bd31dbdc88b4ade379e22d190574537
parent3cbaa86be68a86cf879fd0fb38a03bb203be55e4 (diff)
downloadports-66492abc86472ad04542ffd955bc0e9b31124212.tar.gz
ports-66492abc86472ad04542ffd955bc0e9b31124212.zip
Notes
-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