Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2016 10:32:15 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408781 - head/mail/sendmail
Message-ID:  <201602131032.u1DAWFFK069507@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sat Feb 13 10:32:15 2016
New Revision: 408781
URL: https://svnweb.freebsd.org/changeset/ports/408781

Log:
  - use LIB_DEPENDS
  - remove option WITHOUT_MILTER

Modified:
  head/mail/sendmail/bsd.milter.mk

Modified: head/mail/sendmail/bsd.milter.mk
==============================================================================
--- head/mail/sendmail/bsd.milter.mk	Sat Feb 13 10:06:20 2016	(r408780)
+++ head/mail/sendmail/bsd.milter.mk	Sat Feb 13 10:32:15 2016	(r408781)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602131032.u1DAWFFK069507>