aboutsummaryrefslogtreecommitdiff
path: root/mail/nbsmtp
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-07-14 05:06:30 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-07-14 05:06:30 +0000
commit2a5056c9fb264eed6f117b3640a2470c0fd173d0 (patch)
tree677b684735d48500c867bb67012f9b8071646060 /mail/nbsmtp
parent71fda6e697435f898693916d7185fc89f6126b67 (diff)
downloadports-2a5056c9fb264eed6f117b3640a2470c0fd173d0.tar.gz
ports-2a5056c9fb264eed6f117b3640a2470c0fd173d0.zip
- Include SSL in OPTIONS (like lang/php4, mail/courier-imap, mail/qmail, etc)
PR: 83420 Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
Notes
Notes: svn path=/head/; revision=139169
Diffstat (limited to 'mail/nbsmtp')
-rw-r--r--mail/nbsmtp/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/nbsmtp/Makefile b/mail/nbsmtp/Makefile
index e416d5b87726..5ea7f15e765c 100644
--- a/mail/nbsmtp/Makefile
+++ b/mail/nbsmtp/Makefile
@@ -20,20 +20,21 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
OPTIONS= IPV6 "Support for IPv6 connections" off \
- DEBUG "Enable debug information (for developers)" off
+ DEBUG "Enable debug information (for developers)" off \
+ SSL "Enable SSL support" off
PLIST_FILES= bin/nbsmtp
MAN5= nbsmtprc.5
MAN8= nbsmtp.8
+.include <bsd.port.pre.mk>
+
.if defined(WITH_SSL)
-USE_OPENSSL= yes
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+= --enable-ssl
.endif
-.include <bsd.port.pre.mk>
-
.if !defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --enable-ipv6
.endif