diff options
author | miwi <miwi@FreeBSD.org> | 2007-09-25 01:23:32 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-09-25 01:23:32 +0800 |
commit | 73c6f42d34b51c94231d891d7962a3b81526638c (patch) | |
tree | 028bbd06633f52f80a9bde3d7e062d380cfe9fb1 /security/amavisd-milter/Makefile | |
parent | 514ad5f092e2aab99fbf4292177a2b83e8b96abd (diff) | |
download | freebsd-ports-gnome-73c6f42d34b51c94231d891d7962a3b81526638c.tar.gz freebsd-ports-gnome-73c6f42d34b51c94231d891d7962a3b81526638c.tar.zst freebsd-ports-gnome-73c6f42d34b51c94231d891d7962a3b81526638c.zip |
- Update to 1.3.1
- Fix using sendmail from Ports (115270)
PR: 116587
Submitted by: Petr Rehor <prehor@gmail.com> (maintainer)
Diffstat (limited to 'security/amavisd-milter/Makefile')
-rw-r--r-- | security/amavisd-milter/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/security/amavisd-milter/Makefile b/security/amavisd-milter/Makefile index 6b9f712bc5f0..5541bc6a576c 100644 --- a/security/amavisd-milter/Makefile +++ b/security/amavisd-milter/Makefile @@ -6,7 +6,7 @@ # PORTNAME= amavisd-milter -PORTVERSION= 1.2.1 +PORTVERSION= 1.3.1 CATEGORIES= security mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -48,19 +48,14 @@ MAN8= amavisd-milter.8 .include <bsd.port.pre.mk> -.if !defined(WITH_SENDMAIL_BASE) && \ - !defined(WITH_SENDMAIL_PORT) && \ - !exists(${LOCALBASE}/lib/libmilter.a) -WITH_SENDMAIL_BASE=yes -.endif +.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" -.if defined(WITH_SENDMAIL_BASE) -.if !exists(/usr/lib/libmilter.a) +.if defined(WITH_SENDMAIL_BASE) && !exists(/usr/lib/libmilter.a) BROKEN= Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes .endif -.else -BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail -CONFIGURE_ARGS+=--with-sendmail=${LOCALBASE} + +.if defined(WITH_SENDMAIL_PORT) +CONFIGURE_ARGS+=--with-sendmail=${MILTERBASE} .endif post-install: |