diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-12-16 21:07:39 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-12-16 21:07:39 +0000 |
commit | 72ef392689b5dfa76a0412c9fc1ebfcd0e0e553f (patch) | |
tree | 0eae1d12380bfef9c8e10eac8d02c862aed84668 | |
parent | 2a686b1c21b94162d950701d4e793574b19822a7 (diff) | |
download | ports-72ef392689b5dfa76a0412c9fc1ebfcd0e0e553f.tar.gz ports-72ef392689b5dfa76a0412c9fc1ebfcd0e0e553f.zip |
Notes
-rw-r--r-- | mail/antivirus-milter/Makefile | 4 | ||||
-rw-r--r-- | mail/noattach/Makefile | 4 | ||||
-rw-r--r-- | mail/raysfilter/Makefile | 6 | ||||
-rw-r--r-- | mail/spamilter/Makefile | 4 | ||||
-rw-r--r-- | mail/vbsfilter/Makefile | 4 |
5 files changed, 21 insertions, 1 deletions
diff --git a/mail/antivirus-milter/Makefile b/mail/antivirus-milter/Makefile index 9e24050ac85a..f425834786a9 100644 --- a/mail/antivirus-milter/Makefile +++ b/mail/antivirus-milter/Makefile @@ -16,8 +16,12 @@ COMMENT= Sendmail milter wich uses Mcafee Virus Scan RUN_DEPENDS= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime .if !defined(SENDMAIL_MILTER_IN_BASE) +.if defined(SENDMAIL_WITH_SHARED_MILTER) +LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_PORT} +.else BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT} .endif +.endif SENDMAIL_PORT?= sendmail USE_REINPLACE= yes diff --git a/mail/noattach/Makefile b/mail/noattach/Makefile index 0009052e0de6..51612b6bff4f 100644 --- a/mail/noattach/Makefile +++ b/mail/noattach/Makefile @@ -16,8 +16,12 @@ MAINTAINER= dinoex@FreeBSD.org COMMENT= An attachment filter for Sendmail .if !defined(SENDMAIL_MILTER_IN_BASE) +.if defined(SENDMAIL_WITH_SHARED_MILTER) +LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_PORT} +.else BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT} .endif +.endif SENDMAIL_PORT?= sendmail CFLAGS+= ${PTHREAD_CFLAGS:S=""==} diff --git a/mail/raysfilter/Makefile b/mail/raysfilter/Makefile index d40ece89ab14..c146a91b15b7 100644 --- a/mail/raysfilter/Makefile +++ b/mail/raysfilter/Makefile @@ -15,7 +15,11 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A configurable filter for Sendmail .if !defined(SENDMAIL_MILTER_IN_BASE) -BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT} +.if defined(SENDMAIL_WITH_SHARED_MILTER) +LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_PORT} +.else +BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT} +.endif .endif SENDMAIL_PORT?= sendmail diff --git a/mail/spamilter/Makefile b/mail/spamilter/Makefile index f1e7abcdea5f..4b0a1af623c0 100644 --- a/mail/spamilter/Makefile +++ b/mail/spamilter/Makefile @@ -16,8 +16,12 @@ MAINTAINER= dinoex@FreeBSD.org COMMENT= A Sendmail LibMilter filter to block spam .if !defined(SENDMAIL_MILTER_IN_BASE) +.if defined(SENDMAIL_WITH_SHARED_MILTER) +LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_PORT} +.else BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT} .endif +.endif SENDMAIL_PORT?= sendmail WRKSRC= ${WRKDIR}/${PORTNAME} diff --git a/mail/vbsfilter/Makefile b/mail/vbsfilter/Makefile index 24e2fdea12ce..2975fe8bc0c2 100644 --- a/mail/vbsfilter/Makefile +++ b/mail/vbsfilter/Makefile @@ -17,8 +17,12 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A vbs-attachment filter for Sendmail .if !defined(SENDMAIL_MILTER_IN_BASE) +.if defined(SENDMAIL_WITH_SHARED_MILTER) +LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_PORT} +.else BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_PORT} .endif +.endif SENDMAIL_PORT?= sendmail CTARGETS+= vbsfilter-${PORTVERSION} |