aboutsummaryrefslogtreecommitdiffstats
path: root/mail/imap-uw/Makefile
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2007-07-02 04:57:04 +0800
committeranders <anders@FreeBSD.org>2007-07-02 04:57:04 +0800
commit38da9b2bca4399b5a8d59845b17138ac112e8c5b (patch)
treee3735b4554ad541c670e8a7f4dab8417c5a64632 /mail/imap-uw/Makefile
parent250d01a94d0e201e5c1298bd06359c350053f45a (diff)
downloadfreebsd-ports-gnome-38da9b2bca4399b5a8d59845b17138ac112e8c5b.tar.gz
freebsd-ports-gnome-38da9b2bca4399b5a8d59845b17138ac112e8c5b.tar.zst
freebsd-ports-gnome-38da9b2bca4399b5a8d59845b17138ac112e8c5b.zip
Move bsd.port.pre.mk inclusion up to make OPTIONS work.
Pass OPENSSLBASE in MAKE_ARGS to be able to still build using SSL.
Diffstat (limited to 'mail/imap-uw/Makefile')
-rw-r--r--mail/imap-uw/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index b8f127703b4d..e4fe992caae0 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -31,6 +31,8 @@ OPTIONS= SSL "Compile with SSL support" on \
NETSCAPE_BRAIN_DAMAGE "See Makefile for documentation" off \
ENTOURAGE_BRAIN_DAMAGE "See Makefile for documentation" off
+.include <bsd.port.pre.mk>
+
LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
.if defined(WITH_DRAC)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
@@ -44,7 +46,7 @@ MAN8= ipopd.8 imapd.8
ALL_TARGET= bsf
.if defined(WITHOUT_SSL)
-MAKE_ARGS+= SSLTYPE=none
+MAKE_ARGS+= SSLTYPE=none SSLDIR=${OPENSSLBASE}
.else
USE_OPENSSL= yes
.if defined(WITH_SSL_AND_PLAINTEXT)
@@ -64,8 +66,6 @@ MAKE_ARGS+= WITH_ENTOURAGE_BRAIN_DAMAGE=yes
.endif
# See src/imapd/Makefile for more information about these three options.
-.include <bsd.port.pre.mk>
-
pre-build:
@${SH} ${PKGREQ}.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION}
.if !defined(WITHOUT_SSL)