aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-02-13 18:32:15 +0800
committerdinoex <dinoex@FreeBSD.org>2016-02-13 18:32:15 +0800
commitf16b57f064b8f63302753bc00817e3ee9e9b0110 (patch)
tree18fd729aa627a5fbef07bc7d94647ee945ae321a /mail
parent6b375fec59cfcbe766c3053f6efac4232650e1b8 (diff)
downloadfreebsd-ports-gnome-f16b57f064b8f63302753bc00817e3ee9e9b0110.tar.gz
freebsd-ports-gnome-f16b57f064b8f63302753bc00817e3ee9e9b0110.tar.zst
freebsd-ports-gnome-f16b57f064b8f63302753bc00817e3ee9e9b0110.zip
- use LIB_DEPENDS
- remove option WITHOUT_MILTER
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/bsd.milter.mk15
1 files changed, 3 insertions, 12 deletions
diff --git a/mail/sendmail/bsd.milter.mk b/mail/sendmail/bsd.milter.mk
index eac63df4e20c..5efd22c086e4 100644
--- a/mail/sendmail/bsd.milter.mk
+++ b/mail/sendmail/bsd.milter.mk
@@ -14,8 +14,8 @@
# WITH_SENDMAIL_BASE=yes - Use milter in the base
# WITH_SENDMAIL_PORT=yes - Use milter from ports
#
-# If unspecified, check for the lib exits in the base system,
-# but give an installed port preference over it.
+# If unspecified, check for the lib exist in the base system,
+# but gives an installed port preference over it.
#
#
# Overrideable defaults:
@@ -56,8 +56,7 @@ WITH_SENDMAIL_BASE=yes
.if defined(WITH_SENDMAIL_STATIC_MILTER)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT}
.else
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.so.${MILTER_SOVER}:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT}
-RUN_DEPENDS+= ${LOCALBASE}/lib/libmilter.so.${MILTER_SOVER}:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT}
+LIB_DEPENDS+= libmilter.so.${MILTER_SOVER}:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT}
.endif
SENDMAIL_MILTER_PORT?= libmilter
@@ -75,14 +74,6 @@ CFLAGS=${MILTERINC}
.endif
.endif
-.if defined(WITHOUT_MILTER)
-pre-everything::
- @${ECHO_MSG}
- @${ECHO_MSG} You must unset variable SENDMAIL_WITHOUT_MILTER,
- @${ECHO_MSG} and rebuild sendmail in the ports
- @${FALSE}
-.endif
-
.endif
.if defined(WITH_SENDMAIL_BASE)