aboutsummaryrefslogtreecommitdiffstats
path: root/mail/serialmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/serialmail/Makefile')
-rw-r--r--mail/serialmail/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/serialmail/Makefile b/mail/serialmail/Makefile
index dd3d3f8274e5..fe11f34bebd1 100644
--- a/mail/serialmail/Makefile
+++ b/mail/serialmail/Makefile
@@ -14,8 +14,10 @@ MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Tools for passing mail across serial links
RUN_DEPENDS= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
+UCSPI_SSL_RUN_DEPENDS= sslclient:${PORTSDIR}/sysutils/ucspi-ssl
USES= qmail:run
+OPTIONS_SUB= yes
RESTRICTED= Unsure of DJB license
@@ -40,12 +42,7 @@ PATCH_DIST_STRIP= -p1
.endif
.if ${PORT_OPTIONS:MUCSPI_SSL}
-RUN_DEPENDS+= sslclient:${PORTSDIR}/sysutils/ucspi-ssl
-
MLINKS+= maildirsmtp.1 maildirsmtps.1
-PLIST_SUB+= UCSPI_SSL=""
-.else
-PLIST_SUB+= UCSPI_SSL="@comment "
.endif
post-patch: