From 24b42db107ae68b0bee6c375effae363701ab984 Mon Sep 17 00:00:00 2001 From: nbm Date: Thu, 9 Nov 2000 01:00:00 +0000 Subject: 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. --- mail/courier-imap/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mail/courier-imap/Makefile') 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 -- cgit v1.1