diff options
author | nbm <nbm@FreeBSD.org> | 2000-11-09 09:00:00 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2000-11-09 09:00:00 +0800 |
commit | 24b42db107ae68b0bee6c375effae363701ab984 (patch) | |
tree | 1445203ea1deaae699ba3726d21b552aee37e0ac | |
parent | 27eeadf5aef7bab9725ee17e56a2ee2b75653dc6 (diff) | |
download | freebsd-ports-gnome-24b42db107ae68b0bee6c375effae363701ab984.tar.gz freebsd-ports-gnome-24b42db107ae68b0bee6c375effae363701ab984.tar.zst freebsd-ports-gnome-24b42db107ae68b0bee6c375effae363701ab984.zip |
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.
-rw-r--r-- | mail/courier-imap/Makefile | 8 | ||||
-rw-r--r-- | mail/courier-imap/pkg-plist | 2 |
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 |