aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-07-14 13:06:30 +0800
committernovel <novel@FreeBSD.org>2005-07-14 13:06:30 +0800
commit52a5ff226b8ce839c7e65f78ede063414a05e043 (patch)
treec5293adc717280869041f380bf71f17b2ee76f48 /mail
parent6b55984dff52c55d44b48459dd83a1b392950b81 (diff)
downloadfreebsd-ports-gnome-52a5ff226b8ce839c7e65f78ede063414a05e043.tar.gz
freebsd-ports-gnome-52a5ff226b8ce839c7e65f78ede063414a05e043.tar.zst
freebsd-ports-gnome-52a5ff226b8ce839c7e65f78ede063414a05e043.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>
Diffstat (limited to 'mail')
-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