summaryrefslogtreecommitdiffstats
path: root/mail/courier-imap/Makefile
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-11-09 01:00:00 +0000
committernbm <nbm@FreeBSD.org>2000-11-09 01:00:00 +0000
commit24b42db107ae68b0bee6c375effae363701ab984 (patch)
tree1445203ea1deaae699ba3726d21b552aee37e0ac /mail/courier-imap/Makefile
parent27eeadf5aef7bab9725ee17e56a2ee2b75653dc6 (diff)
downloadFreeBSD-ports-24b42db107ae68b0bee6c375effae363701ab984.zip
FreeBSD-ports-24b42db107ae68b0bee6c375effae363701ab984.tar.gz
Build with USE_OPENSSL unless given WITHOUT_OPENSSL, and fix the
PLIST appropriately whatever the choice. This fixes the bento build problem on RELENG_3, and doesn't affect packages that actually have built before (RELENG_4 and HEAD), so no PORTREVISION bump.
Diffstat (limited to 'mail/courier-imap/Makefile')
-rw-r--r--mail/courier-imap/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index f60988a..943b975 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -17,6 +17,14 @@ MAINTAINER= nbm@FreeBSD.org
GNU_CONFIGURE= YES
USE_GMAKE= YES
+
+.if !defined(WITHOUT_OPENSSL)
+USE_OPENSSL= YES
+PLIST_SUB= OPENSSLFLAG=
+.else
+PLIST_SUB= OPENSSLFLAG="@comment "
+.endif
+
.if !exists(/usr/include/openssl/idea.h)
CFLAGS+= -DNO_IDEA
.endif
OpenPOWER on IntegriCloud