diff options
author | flz <flz@FreeBSD.org> | 2005-06-05 23:49:16 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-06-05 23:49:16 +0800 |
commit | c8cfec372d712adbf2e657d5de14d57148b25c2a (patch) | |
tree | cf6781d85968c6db489c99addd5b13315ae5f403 /security/amavisd-new | |
parent | 2a3b50badc5ede7aa102e4a6b2ee8ee6ba687150 (diff) | |
download | freebsd-ports-graphics-c8cfec372d712adbf2e657d5de14d57148b25c2a.tar.gz freebsd-ports-graphics-c8cfec372d712adbf2e657d5de14d57148b25c2a.tar.zst freebsd-ports-graphics-c8cfec372d712adbf2e657d5de14d57148b25c2a.zip |
- Fix libmilter detection.
PR: ports/81392
Submitted by: Henri Hennebert <hlh@ciger.be>
Approved by: maintainer
Diffstat (limited to 'security/amavisd-new')
-rw-r--r-- | security/amavisd-new/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile index a9eecb25b3e..d1d88e69cdf 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 |