summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-11-09 01:00:00 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-11-09 01:00:00 +0000
commit1900e13dbff5b62151f0d36289200257d6735d1c (patch)
tree465ff6e7dd38e416def48100c03922e29b9e4e6d /mail
parentFix human error - ${PKGMESSAGE} should be set to the work directory, (diff)
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.
Notes
Notes: svn path=/head/; revision=34930
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-imap/Makefile8
-rw-r--r--mail/courier-imap/pkg-plist2
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index f60988a234cb..943b975f2191 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
diff --git a/mail/courier-imap/pkg-plist b/mail/courier-imap/pkg-plist
index bdd8848382e4..6d64b09d9bc3 100644
--- a/mail/courier-imap/pkg-plist
+++ b/mail/courier-imap/pkg-plist
@@ -1,4 +1,4 @@
-bin/couriertls
+%%OPENSSLFLAG%%bin/couriertls
bin/imapd
bin/maildirmake
bin/pop3d